3 sdcpp \- C preprocessor for SDCC
6 .I "[options] filename"
8 This manual page documents briefly the
11 This manual page was written for the Debian GNU/Linux distribution
12 because the original program does not have a manual page.
13 Instead, you can read the documentation in
14 /usr/share/doc/sdcc-doc.
17 is a Freeware, retargettable, optimizing ANSI-C compiler
18 designed for 8 bit Microprocessors.
21 .BI "\-include " "<file>"
22 Include the contents of
24 \& before other files.
26 .BI "\-imacros " "<file>"
27 Accept definition of macros in
31 .BI "\-iprefix " "<path>"
34 \& as a prefix for next two options.
36 .BI "\-iwithprefix " "<dir>"
39 \& to the end of the system include path.
41 .BI "\-iwithprefixbefore " "<dir>"
44 \& to the end of the main include path.
46 .BI "\-isystem " "<dir>"
49 \& to the start of the system include path.
51 .BI "\-idirafter " "<dir>"
54 \& to the end of the system include path.
59 \& to the end of the main include path.
62 Fine-grained include path control; see info docs.
65 Do not search system include directories (dirs specified with
67 \& will still be used).
70 Do not search system include directories for C++.
78 Issue all warnings demanded by strict ISO C.
80 .B "\-pedantic-errors"
83 \& warnings as errors instead.
86 Support ISO C trigraphs.
89 Assume that the input sources are in C.
92 Assume that the input sources are in C89.
95 Assume that the input sources are in C++.
98 Assume that the input sources are in ObjectiveC.
101 Assume that the input sources are in ObjectiveC++.
104 Assume that the input sources are in assembler.
106 .BI "\-std=" "<std name>"
107 Specify the conformance standard; one of:
108 gnu89, gnu99, c89, c99, iso9899:1990,
109 iso9899:199409, iso9899:1999
112 Allow parsing of C++ style features.
115 Inhibit warning messages.
118 Warn if trigraphs are encountered.
121 Do not warn about trigraphs.
124 Warn if one comment starts inside another.
126 .B "\-Wno-comment{s}"
127 Do not warn about comments.
130 Warn about features not present in traditional C;
132 .B "\-Wno-traditional"
133 Do not warn about traditional C;
136 Warn if an undefined macro is used by #if.
139 Do not warn about testing undefined macros.
142 Warn about the use of the #import directive.
145 Do not warn about the use of #import.
148 Treat all warnings as errors.
151 Do not treat warnings as errors.
153 .B "\-Wsystem-headers"
154 Do not suppress warnings from system headers.
156 .B "\-Wno-system-headers"
157 Suppress warnings from system headers.
160 Enable all preprocessor warnings.
163 Generate make dependencies.
168 \&, but ignore system header files.
171 Write dependency output to the given file.
174 Treat missing header file as generated files.
177 Generate phony targets for all headers.
179 .BI "\-MQ " "<target>"
180 Add a MAKE-quoted target.
182 .BI "\-MT " "<target>"
183 Add an unquoted target.
188 \& with string '1' as its value.
190 .BI "\-D" "<macro>=<val>"
197 .BI "\-A" "<question> (<answer>)"
204 .BI "\-A\-" "<question> (<answer>)"
217 Print the name of header files as they are used.
220 Do not discard comments.
223 Display a list of macro definitions active at end.
226 Preserve macro definitions in output.
231 \& except that only the names are preserved.
234 Include #include directives in the output.
237 Treat the input file as already preprocessed.
239 .BI "\-ftabstop=" "<number>"
240 Distance between tab stops for column reporting.
243 Do not generate #line directives.
246 Do not allow '$' in identifiers.
249 Remap file names when including files.
251 .B "\-v or \-\-version"
252 Display the version number.
255 Show summary of options.
258 This manual page was written by Aurelien Jarno <aurel32@debian.org>,
259 for the Debian GNU/Linux system (but may be used by others).