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.27 Manually specifying <strong>the</strong> filename and location of a PreCompiled Header (PCH)<br />

file<br />

To manually specify <strong>the</strong> filename and location of a PCH file, use any of <strong>the</strong> following compiler<br />

command-line options:<br />

• --create_pch=filename<br />

• --pch_dir=directory<br />

• --use_pch=filename<br />

If you use --create_pch or --use_pch with <strong>the</strong> --pch_dir option, <strong>the</strong> indicated filename is<br />

appended to <strong>the</strong> directory name, unless <strong>the</strong> filename is an absolute path name.<br />

Note<br />

If multiple options are specified on <strong>the</strong> same command line, <strong>the</strong> following rules apply:<br />

• --use_pch takes precedence over --pch<br />

• --create_pch takes precedence over all o<strong>the</strong>r PCH file options.<br />

4.27.1 See also<br />

Concepts<br />

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

• Automatic PreCompiled Header (PCH) file processing on page 4-30.<br />

Reference<br />

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

• --create_pch=filename on page 3-22<br />

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

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

• --use_pch=filename on page 3-93.<br />

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

ID061811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!