Imported Upstream version 2.9.0
[debian/cc1111] / support / cpp / sdcpp.opt
1 ; Options for the SDCPP front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 ;
4 ; This file is part of GCC.
5 ;
6 ; GCC is free software; you can redistribute it and/or modify it under
7 ; the terms of the GNU General Public License as published by the Free
8 ; Software Foundation; either version 2, or (at your option) any later
9 ; version.
10 ;
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 ; for more details.
15 ;
16 ; You should have received a copy of the GNU General Public License
17 ; along with GCC; see the file COPYING.  If not, write to the Free
18 ; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19 ; 02110-1301, USA.
20
21 ; See the GCC internals manual for a description of this file's format.
22
23 ; Please try to keep this file in ASCII collating order.
24
25 Language
26 SDCPP
27
28 -help
29 Common
30 Display this information
31
32 -version
33 Common
34 Display the compiler's version
35
36 ;***-output-pch=
37 ;***SDCPP Joined Separate
38
39 A
40 SDCPP Joined Separate
41 -A<question>=<answer>   Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>
42
43 C
44 SDCPP
45 Do not discard comments
46
47 CC
48 SDCPP
49 Do not discard comments in macro expansions
50
51 D
52 SDCPP Joined Separate
53 -D<macro>[=<val>]       Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1
54
55 H
56 SDCPP
57 Print the name of header files as they are used
58
59 I
60 SDCPP Joined Separate
61 -I <dir>        Add <dir> to the end of the main include path.  -I- gives more include path control; see info documentation
62
63 M
64 SDCPP
65 Generate make dependencies
66
67 MD
68 SDCPP Separate
69 Generate make dependencies and compile
70
71 MF
72 SDCPP Joined Separate
73 -MF <file>      Write dependency output to the given file
74
75 MG
76 SDCPP
77 Treat missing header files as generated files
78
79 MM
80 SDCPP
81 Like -M but ignore system header files
82
83 MMD
84 SDCPP Separate
85 Like -MD but ignore system header files
86
87 MP
88 SDCPP
89 Generate phony targets for all headers
90
91 MQ
92 SDCPP Joined Separate
93 -MQ <target>    Add a MAKE-quoted target
94
95 MT
96 SDCPP Joined Separate
97 -MT <target>    Add an unquoted target
98
99 P
100 SDCPP
101 Do not generate #line directives
102
103 U
104 SDCPP Joined Separate
105 -U<macro>       Undefine <macro>
106
107 Wall
108 SDCPP
109 Enable most warning messages
110
111 Wcomment
112 SDCPP
113 Warn about possibly nested block comments, and C++ comments spanning more than one physical line
114
115 Wcomments
116 SDCPP
117 Synonym for -Wcomment
118
119 Wdeprecated
120 SDCPP
121 Warn about deprecated compiler features
122
123 Wendif-labels
124 SDCPP
125 Warn about stray tokens after #elif and #endif
126
127 Werror
128 SDCPP
129 Treat all warnings as errors
130
131 Wfatal-errors
132 SDCPP Var(flag_fatal_errors)
133 Exit on the first error occurred
134
135 Wimport
136 SDCPP
137 Deprecated.  This switch has no effect.
138
139 ;***Winvalid-pch
140 ;***SDCPP
141 ;***Warn about PCH files that are found but not used
142
143 Wsystem-headers
144 SDCPP
145 Do not suppress warnings from system headers
146
147 Wtraditional
148 SDCPP Var(warn_traditional)
149 Warn about features not present in traditional C
150
151 Wtrigraphs
152 SDCPP
153 Warn if trigraphs are encountered that might affect the meaning of the program
154
155 Wundef
156 SDCPP
157 Warn if an undefined macro is used in an #if directive
158
159 Wunused-macros
160 SDCPP
161 Warn about macros defined in the main file that are not used
162
163 Wvariadic-macros
164 SDCPP
165 Do not warn about using variadic macros when -pedantic
166
167 ansi
168 SDCPP
169 A synonym for -std=c89.
170
171 d
172 SDCPP Joined
173 -d<letters>     Enable dumps from specific passes of the compiler
174
175 fdollars-in-identifiers
176 SDCPP
177 Permit '$' as an identifier character
178
179 fexec-charset=
180 SDCPP Joined RejectNegative
181 -fexec-charset=<cset>   Convert all strings and character constants to character set <cset>
182
183 finput-charset=
184 SDCPP Joined RejectNegative
185 -finput-charset=<cset>      Specify the default character set for source files.
186
187 ;***fpch-deps
188 ;***SDCPP
189
190 fpreprocessed
191 SDCPP
192 Treat the input file as already preprocessed
193
194 fshow-column
195 SDCPP
196
197 fsigned-char
198 SDCPP
199 Make \"char\" signed by default
200
201 ftabstop=
202 SDCPP Joined RejectNegative UInteger
203 -ftabstop=<number>      Distance between tab stops for column reporting
204
205 funsigned-char
206 SDCPP
207 Make \"char\" unsigned by default
208
209 fwide-exec-charset=
210 SDCPP Joined RejectNegative
211 -fwide-exec-charset=<cset>      Convert all wide strings and character constants to character set <cset>
212
213 fworking-directory
214 SDCPP
215 Generate a #line directive pointing at the current working directory
216
217 idirafter
218 SDCPP Joined Separate
219 -idirafter <dir>        Add <dir> to the end of the system include path
220
221 imacros
222 SDCPP Joined Separate
223 -imacros <file> Accept definition of macros in <file>
224
225 imultilib
226 C ObjC C++ ObjC++ Joined Separate
227 -imultilib <dir> Set <dir> to be the multilib include subdirectory
228
229 include
230 SDCPP Joined Separate
231 -include <file> Include the contents of <file> before other files
232
233 iprefix
234 SDCPP Joined Separate
235 -iprefix <path> Specify <path> as a prefix for next two options
236
237 isysroot
238 SDCPP Joined Separate
239 -isysroot <dir> Set <dir> to be the system root directory
240
241 isystem
242 SDCPP Joined Separate
243 -isystem <dir>  Add <dir> to the start of the system include path
244
245 iquote
246 SDCPP Joined Separate
247 -iquote <dir>   Add <dir> to the end of the quote include path
248
249 iwithprefix
250 SDCPP Joined Separate
251 -iwithprefix <dir>      Add <dir> to the end of the system include path
252
253 iwithprefixbefore
254 SDCPP Joined Separate
255 -iwithprefixbefore <dir>        Add <dir> to the end of the main include path
256
257 lang-asm
258 C Undocumented
259
260 lang-objc
261 SDCPP Undocumented
262
263 nostdinc
264 SDCPP
265 Do not search standard system include directories (those specified with -isystem will still be used)
266
267 o
268 SDCPP Joined Separate
269 -o <file>       Place output into <file>
270
271 obj-ext=
272 SDCPP Joined
273 -obj-ext=<extension>    Define object file extension, used for generation of make dependencies
274
275 pedantic
276 SDCPP Var(pedantic)
277 Issue warnings needed for strict compliance to the standard
278
279 pedantic-errors
280 SDCPP
281 Like -pedantic but issue them as errors
282
283 pedantic-parse-number
284 SDCPP
285 Pedantic parse number
286
287 remap
288 SDCPP
289 Remap file names when including files
290
291 std=c89
292 SDCPP
293 Conform to the ISO 1990 C standard
294
295 std=c99
296 SDCPP
297 Conform to the ISO 1999 C standard
298
299 std=iso9899:1990
300 C ObjC
301 Conform to the ISO 1990 C standard
302
303 std=iso9899:199409
304 SDCPP
305 Conform to the ISO 1990 C standard as amended in 1994
306
307 std=iso9899:1999
308 C ObjC
309 Conform to the ISO 1999 C standard
310
311 traditional-cpp
312 SDCPP
313 Enable traditional preprocessing
314
315 trigraphs
316 SDCPP
317 -trigraphs      Support ISO C trigraphs
318
319 v
320 SDCPP
321 Enable verbose output
322
323 ;***version
324 ;***SDCPP Var(version_flag)
325 ;***Display the compiler's version
326
327 w
328 SDCPP Var(inhibit_warnings)
329 Suppress warnings
330
331 ; This comment is to ensure we retain the blank line above.