1 .TH CPP 6 "$Revision: 2.9 $"
10 reads a file, expands macros and include
11 files, and writes an input file for the C compiler.
12 All output is to standard output.
14 The following options are supported.
15 .IP -\fBI\fIdirectory\fR
17 add this directory to the list of
18 directories searched for #include "..." and #include <...>
19 commands. Note that there is no space between the
20 "-I" and the directory string. More than one -I command
23 end the list of directories to be searched, and also do not look in
25 .IP -\fBD\fIname\fR=\fItext\fR
31 as its replacement text.
33 the same as -\fBD\fIname\fR=1.
36 undefine the macro name
39 leave comments in. By default, C-comments are deleted.
41 do not generate line directives
43 set maximum identifier length to
45 .IP -\fBd\fR[\fIfile\fR]
47 if \fIfile\fR is not given, do not preprocess, but instead generate a list
48 of makefile dependencies and write them to the standard output.
49 If \fIfile\fP is given, generate preprocessor output on standard output,
50 and generate the list of makefile dependencies on file \fIfile\fP.
51 .IP -\fBA\fR[\fIfile\fR]
52 identical to the -d option.
54 when generating makefile dependencies, do not include files from
57 when generating makefile dependencies, generate them in the following format:
62 where "file.o" is derived from the source file name. Normally, only a list
63 of files included is generated.
66 this flag is silently ignored, for compatibility with other preprocessors.
68 The following names are always available unless undefined:
70 The input (or #include) file being compiled
73 The line number being compiled.
75 The date and time of compilation as
76 a Unix ctime quoted string (the trailing newline is removed).