1 ; Options for the SDCPP front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 ; This file is part of GCC.
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
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
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
21 ; See the GCC internals manual for a description of this file's format.
23 ; Please try to keep this file in ASCII collating order.
30 Display this information
34 Display the compiler's version
37 ;***SDCPP Joined Separate
41 -A<question>=<answer> Assert the <answer> to <question>. Putting '-' before <question> disables the <answer> to <question>
45 Do not discard comments
49 Do not discard comments in macro expansions
53 -D<macro>[=<val>] Define a <macro> with <val> as its value. If just <macro> is given, <val> is taken to be 1
57 Print the name of header files as they are used
61 -I <dir> Add <dir> to the end of the main include path. -I- gives more include path control; see info documentation
65 Generate make dependencies
69 Generate make dependencies and compile
73 -MF <file> Write dependency output to the given file
77 Treat missing header files as generated files
81 Like -M but ignore system header files
85 Like -MD but ignore system header files
89 Generate phony targets for all headers
93 -MQ <target> Add a MAKE-quoted target
97 -MT <target> Add an unquoted target
101 Do not generate #line directives
104 SDCPP Joined Separate
105 -U<macro> Undefine <macro>
109 Enable most warning messages
113 Warn about possibly nested block comments, and C++ comments spanning more than one physical line
117 Synonym for -Wcomment
121 Warn about deprecated compiler features
125 Warn about stray tokens after #elif and #endif
129 Treat all warnings as errors
132 SDCPP Var(flag_fatal_errors)
133 Exit on the first error occurred
137 Deprecated. This switch has no effect.
141 ;***Warn about PCH files that are found but not used
145 Do not suppress warnings from system headers
148 SDCPP Var(warn_traditional)
149 Warn about features not present in traditional C
153 Warn if trigraphs are encountered that might affect the meaning of the program
157 Warn if an undefined macro is used in an #if directive
161 Warn about macros defined in the main file that are not used
165 Do not warn about using variadic macros when -pedantic
169 A synonym for -std=c89.
173 -d<letters> Enable dumps from specific passes of the compiler
175 fdollars-in-identifiers
177 Permit '$' as an identifier character
180 SDCPP Joined RejectNegative
181 -fexec-charset=<cset> Convert all strings and character constants to character set <cset>
184 SDCPP Joined RejectNegative
185 -finput-charset=<cset> Specify the default character set for source files.
192 Treat the input file as already preprocessed
199 Make \"char\" signed by default
202 SDCPP Joined RejectNegative UInteger
203 -ftabstop=<number> Distance between tab stops for column reporting
207 Make \"char\" unsigned by default
210 SDCPP Joined RejectNegative
211 -fwide-exec-charset=<cset> Convert all wide strings and character constants to character set <cset>
215 Generate a #line directive pointing at the current working directory
218 SDCPP Joined Separate
219 -idirafter <dir> Add <dir> to the end of the system include path
222 SDCPP Joined Separate
223 -imacros <file> Accept definition of macros in <file>
226 C ObjC C++ ObjC++ Joined Separate
227 -imultilib <dir> Set <dir> to be the multilib include subdirectory
230 SDCPP Joined Separate
231 -include <file> Include the contents of <file> before other files
234 SDCPP Joined Separate
235 -iprefix <path> Specify <path> as a prefix for next two options
238 SDCPP Joined Separate
239 -isysroot <dir> Set <dir> to be the system root directory
242 SDCPP Joined Separate
243 -isystem <dir> Add <dir> to the start of the system include path
246 SDCPP Joined Separate
247 -iquote <dir> Add <dir> to the end of the quote include path
250 SDCPP Joined Separate
251 -iwithprefix <dir> Add <dir> to the end of the system include path
254 SDCPP Joined Separate
255 -iwithprefixbefore <dir> Add <dir> to the end of the main include path
265 Do not search standard system include directories (those specified with -isystem will still be used)
268 SDCPP Joined Separate
269 -o <file> Place output into <file>
273 -obj-ext=<extension> Define object file extension, used for generation of make dependencies
277 Issue warnings needed for strict compliance to the standard
281 Like -pedantic but issue them as errors
283 pedantic-parse-number
285 Pedantic parse number
289 Remap file names when including files
293 Conform to the ISO 1990 C standard
297 Conform to the ISO 1999 C standard
301 Conform to the ISO 1990 C standard
305 Conform to the ISO 1990 C standard as amended in 1994
309 Conform to the ISO 1999 C standard
313 Enable traditional preprocessing
317 -trigraphs Support ISO C trigraphs
321 Enable verbose output
324 ;***SDCPP Var(version_flag)
325 ;***Display the compiler's version
328 SDCPP Var(inhibit_warnings)
331 ; This comment is to ensure we retain the blank line above.