3.23 Automatic Precompiled Header (PCH) file processing

The --pch command-line option enables automatic PCH file processing.

This means that the compiler automatically looks for a qualifying PCH file, and reads it if found. Otherwise, the compiler creates one for use on a subsequent compilation.
When the compiler creates a PCH file, it takes the name of the primary source file and replaces the suffix with .pch. The PCH file is created in the directory of the primary source file unless the --pch_dir option is specified.
Related concepts
3.22 Precompiled Header (PCH) files
3.24 Precompiled Header (PCH) file processing and the header stop point
3.25 Precompiled Header (PCH) file creation requirements
3.26 Compilation with multiple Precompiled Header (PCH) files
3.27 Obsolete Precompiled Header (PCH) files
3.28 Manually specifying the filename and location of a Precompiled Header (PCH) file
3.29 Selectively applying Precompiled Header (PCH) file processing
3.30 Suppressing Precompiled Header (PCH) file processing
3.31 Message output during Precompiled Header (PCH) processing
3.32 Performance issues with Precompiled Header (PCH) files
Related reference
7.120 --pch
7.121 --pch_dir=dir
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.