File: sdcpp.opt

package info (click to toggle)
sdcc 4.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 100,120 kB
  • sloc: ansic: 935,524; cpp: 75,055; makefile: 57,615; sh: 30,106; asm: 14,243; perl: 12,136; yacc: 7,297; lisp: 1,672; python: 815; lex: 781; awk: 498; sed: 89
file content (336 lines) | stat: -rw-r--r-- 6,718 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
; Options for the SDCPP front end.
; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING.  If not, write to the Free
; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
; 02110-1301, USA.

; See the GCC internals manual for a description of this file's format.

; Please try to keep this file in ASCII collating order.

Language
SDCPP

-help
Common
Display this information

-version
Common
Display the compiler's version

;***-output-pch=
;***SDCPP Joined Separate

A
SDCPP Joined Separate
-A<question>=<answer>	Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>

C
SDCPP
Do not discard comments

CC
SDCPP
Do not discard comments in macro expansions

D
SDCPP Joined Separate
-D<macro>[=<val>]	Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1

H
SDCPP
Print the name of header files as they are used

I
SDCPP Joined Separate
-I <dir>	Add <dir> to the end of the main include path.  -I- gives more include path control; see info documentation

M
SDCPP
Generate make dependencies

MD
SDCPP Separate
Generate make dependencies and compile

MF
SDCPP Joined Separate
-MF <file>	Write dependency output to the given file

MG
SDCPP
Treat missing header files as generated files

MM
SDCPP
Like -M but ignore system header files

MMD
SDCPP Separate
Like -MD but ignore system header files

MP
SDCPP
Generate phony targets for all headers

MQ
SDCPP Joined Separate
-MQ <target>	Add a MAKE-quoted target

MT
SDCPP Joined Separate
-MT <target>	Add an unquoted target

P
SDCPP
Do not generate #line directives

U
SDCPP Joined Separate
-U<macro>	Undefine <macro>

Wall
SDCPP
Enable most warning messages

Wcomment
SDCPP
Warn about possibly nested block comments, and C++ comments spanning more than one physical line

Wcomments
SDCPP
Synonym for -Wcomment

Wdeprecated
SDCPP
Warn about deprecated compiler features

Wendif-labels
SDCPP
Warn about stray tokens after #elif and #endif

Werror
Common
Treat all warnings as errors

Wfatal-errors
SDCPP Var(flag_fatal_errors)
Exit on the first error occurred

Wimport
SDCPP
Deprecated.  This switch has no effect.

;***Winvalid-pch
;***SDCPP
;***Warn about PCH files that are found but not used

Wsystem-headers
Common
Do not suppress warnings from system headers

Wtraditional
SDCPP Var(warn_traditional)
Warn about features not present in traditional C

Wtrigraphs
SDCPP
Warn if trigraphs are encountered that might affect the meaning of the program

Wundef
SDCPP
Warn if an undefined macro is used in an #if directive

Wunused-macros
SDCPP
Warn about macros defined in the main file that are not used

Wvariadic-macros
SDCPP
Do not warn about using variadic macros when -pedantic

ansi
SDCPP
A synonym for -std=c89.

d
Common SDCPP Joined
-d<letters>	Enable dumps from specific passes of the compiler

fdollars-in-identifiers
SDCPP
Permit '$' as an identifier character

fexec-charset=
SDCPP Joined RejectNegative
-fexec-charset=<cset>	Convert all strings and character constants to character set <cset>

finput-charset=
SDCPP Joined RejectNegative
-finput-charset=<cset>      Specify the default character set for source files.

;***fpch-deps
;***SDCPP

fpreprocessed
SDCPP
Treat the input file as already preprocessed

fshow-column
SDCPP

fsigned-char
SDCPP
Make \"char\" signed by default

ftabstop=
SDCPP Joined RejectNegative UInteger
-ftabstop=<number>	Distance between tab stops for column reporting

funsigned-char
SDCPP
Make \"char\" unsigned by default

fwide-exec-charset=
SDCPP Joined RejectNegative
-fwide-exec-charset=<cset>	Convert all wide strings and character constants to character set <cset>

fworking-directory
SDCPP
Generate a #line directive pointing at the current working directory

idirafter
SDCPP Joined Separate
-idirafter <dir>	Add <dir> to the end of the system include path

imacros
SDCPP Joined Separate
-imacros <file>	Accept definition of macros in <file>

imultilib
C ObjC C++ ObjC++ Joined Separate
-imultilib <dir> Set <dir> to be the multilib include subdirectory

include
SDCPP Joined Separate
-include <file>	Include the contents of <file> before other files

iprefix
SDCPP Joined Separate
-iprefix <path>	Specify <path> as a prefix for next two options

isysroot
SDCPP Joined Separate
-isysroot <dir>	Set <dir> to be the system root directory

isystem
SDCPP Joined Separate
-isystem <dir>	Add <dir> to the start of the system include path

iquote
SDCPP Joined Separate
-iquote <dir>	Add <dir> to the end of the quote include path

iwithprefix
SDCPP Joined Separate
-iwithprefix <dir>	Add <dir> to the end of the system include path

iwithprefixbefore
SDCPP Joined Separate
-iwithprefixbefore <dir>	Add <dir> to the end of the main include path

lang-asm
C Undocumented

lang-objc
SDCPP Undocumented

nostdinc
SDCPP
Do not search standard system include directories (those specified with -isystem will still be used)

o
SDCPP Joined Separate
-o <file>	Place output into <file>

obj-ext=
SDCPP Joined
-obj-ext=<extension>	Define object file extension, used for generation of make dependencies

pedantic
SDCPP Var(pedantic)
Issue warnings needed for strict compliance to the standard

pedantic-errors
Common SDCPP
Like -pedantic but issue them as errors

pedantic-parse-number
SDCPP
Pedantic parse number

remap
SDCPP
Remap file names when including files

std=c89
SDCPP
Conform to the ISO 1990 C standard

std=c99
SDCPP
Conform to the ISO 1999 C standard

std=c11
SDCPP
Conform to the ISO 2011 C standard

std=iso9899:1990
C ObjC
Conform to the ISO 1990 C standard

std=iso9899:199409
SDCPP
Conform to the ISO 1990 C standard as amended in 1994 (and ratified in 1995)

std=iso9899:1999
C ObjC
Conform to the ISO 1999 C standard

traditional-cpp
SDCPP
Enable traditional preprocessing

;*** ISO C trigraphs are enabled by default on sdcpp
no-trigraphs
SDCPP
-no-trigraphs	Disble ISO C trigraphs support

v
SDCPP
Enable verbose output

;***version
;***SDCPP Var(version_flag)
;***Display the compiler's version

w
Common Var(inhibit_warnings)
Suppress warnings

; This comment is to ensure we retain the blank line above.