Name
fixPrecomps
Synopsis
fixPrecomps -help fixPrecomps [-checkOnly] [-force] [-relrootdirectory
] [-all | -precompsListfilename
] [-precompsfilename
...] [-find_all_precomps] [-gcc2 | -gcc3all] [-skipIfMissing] [-outputdirectory
] [-precompFlagsflag
...]
Compiles header files to improve performance
for programs including them. When invoked without arguments,
fixPrecomps
reads any files in
/System/Library/SystemResources/PrecompLists/
in
alphanumeric order by filename. Normally this includes
phase1.precompList
and
phase2.precompList
. These files are expected to
consist of lists of precompiled header filenames to generate.
fixPrecomps
then runs cc -precomp
on the ordinary header files where the precompiled
headers are either out of date (i.e., have modification times less
recent than the ordinary headers) or nonexistent.
The headers listed in the precompList
files have
filename extensions of either .p
or
.pp
. fixPrecomps
finds
ordinary headers with the same base filenames but extensions of
.h
. The .p
headers are
compiled with GCC Version 2 for use with C and Objective-C programs,
while the .pp
headers are compiled with GCC
Version 2 for C++ and Objective-C++ programs. By default,
fixPrecomps
compiles headers with GCC version 3,
in which case C/Objective-C precompiled header filenames end in
-gcc3.p
, and C++/Objective-C++ precompiled
header filenames end in -gcc3.pp
.
Options
-
-all
Use all files contained in
/System/Library/SystemResources/PrecompLists/
. This is the default.-
-checkOnly
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.