File: sdcpp.1

package info (click to toggle)
sdcc 4.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 112,804 kB
  • sloc: ansic: 622,685; cpp: 259,454; makefile: 81,253; sh: 40,203; asm: 19,222; perl: 12,139; yacc: 7,761; awk: 3,378; lisp: 1,677; python: 1,097; lex: 1,028; sed: 76
file content (259 lines) | stat: -rw-r--r-- 4,972 bytes parent folder | download | duplicates (13)
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
.TH SDCPP 1 
.SH NAME
sdcpp \- C preprocessor for SDCC
.SH SYNOPSIS
.B sdcppold
.I "[options] filename"
.SH "DESCRIPTION"
This manual page documents briefly the
.BR sdccp
command.
This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
Instead, you can read the documentation in
/usr/share/doc/sdcc-doc.
.PP
.B SDCC
is a Freeware, retargettable, optimizing ANSI-C compiler
designed for 8 bit Microprocessors.
.SH OPTIONS
.TP
.BI "\-include " "<file>"
Include the contents of
.I <file>\c
\& before other files.
.TP
.BI "\-imacros " "<file>"
Accept definition of macros in 
.I <file>\c
\&.
.TP
.BI "\-iprefix " "<path>"
Specify 
.I <path>\c
\& as a prefix for next two options.
.TP
.BI "\-iwithprefix " "<dir>"
Add 
.I <dir>\c
\& to the end of the system include path.
.TP
.BI "\-iwithprefixbefore " "<dir>"
Add 
.I <dir>\c
\& to the end of the main include path.
.TP
.BI "\-isystem " "<dir>"
Add 
.I <dir>\c
\& to the start of the system include path.
.TP
.BI "\-idirafter " "<dir>"
Add 
.I <dir>\c
\& to the end of the system include path.
.TP
.BI "-I " "<dir>"   
Add 
.I <dir>\c
\& to the end of the main include path.
.TP
.B "\-I\-"
Fine-grained include path control; see info docs.
.TP
.B "\-nostdinc"
Do not search system include directories (dirs specified with 
.B -isystem\c
\& will still be used).
.TP
.B "\-nostdinc++"
Do not search system include directories for C++.
.TP
.BI "-o " "<file>"
Put output into 
.I <file>\c
\&.
.TP
.B "\-pedantic"
Issue all warnings demanded by strict ISO C.
.TP
.B "\-pedantic-errors"
Issue 
.I \-pedantic\c
\& warnings as errors instead.
.TP
.B "\-trigraphs"
Support ISO C trigraphs.
.TP
.B "\-lang-c"
Assume that the input sources are in C.
.TP
.B "\-lang-c89"
Assume that the input sources are in C89.
.TP
.B "\-lang-c++"
Assume that the input sources are in C++.
.TP
.B "\-lang-objc"
Assume that the input sources are in ObjectiveC.
.TP
.B "\-lang-objc++"
Assume that the input sources are in ObjectiveC++.
.TP
.B "\-lang-asm"
Assume that the input sources are in assembler.
.TP
.BI "\-std=" "<std name>"
Specify the conformance standard; one of: 
gnu89, gnu99, c89, c99, iso9899:1990,
iso9899:199409, iso9899:1999
.TP
.B "\-+"
Allow parsing of C++ style features.
.TP
.B "\-w"
Inhibit warning messages.
.TP
.B "\-Wtrigraphs"
Warn if trigraphs are encountered.
.TP
.B "\-Wno-trigraphs"
Do not warn about trigraphs.
.TP
.B "\-Wcomment{s}"
Warn if one comment starts inside another.
.TP
.B "\-Wno-comment{s}"
Do not warn about comments.
.TP
.B "\-Wtraditional"
Warn about features not present in traditional C;
.TP
.B "\-Wno-traditional"
Do not warn about traditional C;
.TP
.B "\-Wundef"
Warn if an undefined macro is used by #if.
.TP
.B "\-Wno-undef"
Do not warn about testing undefined macros.
.TP
.B "\-Wimport"
Warn about the use of the #import directive.
.TP
.B "\-Wno-import"
Do not warn about the use of #import.
.TP
.B "\-Werror"
Treat all warnings as errors.
.TP
.B "\-Wno-error"
Do not treat warnings as errors.
.TP
.B "\-Wsystem-headers"
Do not suppress warnings from system headers.
.TP
.B "\-Wno-system-headers"
Suppress warnings from system headers.
.TP
.B "\-Wall"
Enable all preprocessor warnings.
.TP
.B "\-M"
Generate make dependencies.
.TP
.B "\-MM"                       
As 
.B "\-M"\c
\&, but ignore system header files.
.TP
.BI "\-MF " "<file>"
Write dependency output to the given file.
.TP
.B "\-MG"
Treat missing header file as generated files.
.TP
.B "\-MP"
Generate phony targets for all headers.
.TP
.BI "\-MQ " "<target>"
Add a MAKE-quoted target.
.TP
.BI "\-MT " "<target>"
Add an unquoted target.
.TP
.BI "\-D" "<macro>"                 
Define a 
.I <macro>\c
\& with string '1' as its value.
.TP
.BI "\-D" "<macro>=<val>"           
Define a 
.I <macro>\c
\& with 
.I <val>\c
\& as its value.
.TP
.BI "\-A" "<question> (<answer>)"   
Assert the 
.I <answer>\c
\& to 
.I <question>\c
\&.
.TP
.BI "\-A\-" "<question> (<answer>)"
Disable
.I <answer>\c
\& to 
.I <question>\c
\&.
.TP 
.BI "-U" "<macro>"
Undefine 
.I <macro>\c
\&.
.TP
.B "\-H"
Print the name of header files as they are used.
.TP
.B "\-C"
Do not discard comments.
.TP
.B "\-dM"
Display a list of macro definitions active at end.
.TP
.B "\-dD"
Preserve macro definitions in output.
.TP
.B "\-dN"
As 
.B \-dD\c
\& except that only the names are preserved.
.TP
.B "\-dI"
Include #include directives in the output.
.TP
.B "\-fpreprocessed"
Treat the input file as already preprocessed.
.TP
.BI "\-ftabstop=" "<number>"
Distance between tab stops for column reporting.
.TP
.B "\-P"
Do not generate #line directives.
.TP
.B "\-$"
Do not allow '$' in identifiers.
.TP
.B "\-remap"
Remap file names when including files.
.TP
.B "\-v or \-\-version"
Display the version number.
.TP
.B "\-h or \-\-help"
Show summary of options.

.SH AUTHOR
This manual page was written by Aurelien Jarno <aurel32@debian.org>,
for the Debian GNU/Linux system (but may be used by others).