Manually specifying the filename and location of a PreCompiled Header (PCH) file
ARM Compiler
toolchain v5.02 for µVision Using the Compiler
Home > Compiler Features > Manually specifying the filename and
location of a PreCompiled Header (PCH) file
Manually specifying the filename and
location of a PreCompiled Header (PCH) file
To manually specify the filename and location of a PCH file,
use any of the following compiler command-line options:
--create_pch=filename
--pch_dir=directory
--use_pch=filename
If you use --create_pch or --use_pch with
the --pch_dir option, the indicated filename is appended
to the directory name, unless the filename is an absolute path name.
Note
If multiple options are specified on the same command line,
the following rules apply:
--use_pch takes precedence over --pch
--create_pch takes precedence over
all other PCH file options.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.