29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Compiler</strong> Features<br />

4.22 Automatic PreCompiled Header (PCH) file processing<br />

The --pch command-line option enables automatic PCH file processing. This means that <strong>the</strong><br />

compiler automatically looks <strong>for</strong> a qualifying PCH file, and reads it if found. O<strong>the</strong>rwise, <strong>the</strong><br />

compiler creates one <strong>for</strong> use on a subsequent compilation.<br />

When <strong>the</strong> compiler creates a PCH file, it takes <strong>the</strong> name of <strong>the</strong> primary source file and replaces<br />

<strong>the</strong> suffix with .pch. The PCH file is created in <strong>the</strong> directory of <strong>the</strong> primary source file unless<br />

<strong>the</strong> --pch_dir option is specified.<br />

4.22.1 See also<br />

Concepts<br />

• Order of compiler command-line options on page 3-10<br />

• PreCompiled Header (PCH) file processing and <strong>the</strong> header stop point on page 4-31<br />

• PreCompiled Header (PCH) file creation requirements on page 4-32<br />

• PreCompiled Header (PCH) files on page 4-29.<br />

Reference<br />

<strong>Compiler</strong> Reference:<br />

• --pch on page 3-75<br />

• --pch_dir=dir on page 3-75.<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 4-30<br />

ID061811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!