1 .TH CPP.ANSI 6 "$Revision: 1.5 $"
4 cpp.ansi \- ANSI C Pre-Processor
6 .B ~em/lib.bin/cpp.ansi
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.
37 undefine the macro name
40 leave comments in. By default, C-comments are deleted.
42 do not generate line directives
44 set maximum identifier length to
46 .IP -\fBd\fR[\fIfile\fR]
48 if \fIfile\fR is not given, do not preprocess, but instead generate a list
49 of makefile dependencies and write them to the standard output.
50 If \fIfile\fP is given, generate preprocessor output on standard output,
51 and generate the list of makefile dependencies on file \fIfile\fP.
52 .IP -\fBA\fR[\fIfile\fR]
53 identical to the -d option.
55 when generating makefile dependencies, do not include files from
58 when generating makefile dependencies, generate them in the following format:
63 where "file.o" is derived from the source file name. Normally, only a list
64 of files included is generated.
67 this flag is silently ignored, for compatibility with other preprocessors.
69 The following names are always available. They cannot be the subject of a
70 -U command line option or a #undef directive.
73 A decimal constant 1, indicating that this is an ANSI C conforming
76 The input (or #include) file being compiled
79 The line number being compiled.
81 The date of translation of the source file. This is a string
82 literal of the form "\fBMmm dd yyyy\fP".
84 The time of translation of the source file. This is a string
85 literal of the form "\fBhh:mm:ss\fP".
88 The output may contain extra spaces, this prevents unintended
93 Draft Proposed Standard - Programming Language C,
95 ANSI X3J11 Language Subcommittee