7.129 --pch

Uses a PCH file if it exists, creates a PCH file otherwise.

Note

This option is deprecated.
Support for Precompiled Header (PCH) files is deprecated from ARM Compiler 5.05 onwards on all platforms. Note that ARM Compiler on Windows 8 never supported PCH files.
When the option --pch is specified, the compiler searches for a PCH file with the name filename.pch, where filename.* is the name of the primary source file. The compiler uses the PCH file filename.pch if it exists, and creates a PCH file named filename.pch in the same directory as the primary source file otherwise.

Restrictions

This option has no effect if you include either the option --use_pch=filename or the option --create_pch=filename on the same command line.
Related concepts
3.22 Automatic Precompiled Header (PCH) file processing
3.23 Precompiled Header (PCH) file processing and the header stop point
3.27 Manually specifying the filename and location of a Precompiled Header (PCH) file
3.21 Precompiled Header (PCH) files
Related reference
7.130 --pch_dir=dir
7.131 --pch_messages, --no_pch_messages
7.132 --pch_verbose, --no_pch_verbose
7.30 --create_pch=filename
7.166 --use_pch=filename
9.83 #pragma hdrstop
9.88 #pragma no_pch
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.