Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison tradcpp.1 @ 123:9f479b52364a
Add a bunch more options I forgot earlier (!)
In case anyone's wondering, the crazy family of include path options
comes from gcc.
author | David A. Holland |
---|---|
date | Tue, 11 Jun 2013 19:02:33 -0400 |
parents | 64c4de3709de |
children | f7814226906c |
comparison
equal
deleted
inserted
replaced
122:64c4de3709de | 123:9f479b52364a |
---|---|
159 .It Fl MMD | 159 .It Fl MMD |
160 Like | 160 Like |
161 .Fl MM | 161 .Fl MM |
162 but skip system headers. | 162 but skip system headers. |
163 Not implemented. | 163 Not implemented. |
164 .It Fl MF Ar file | |
165 Send dependency output to the named file instead of the default | |
166 location. | |
167 Not implemented. | |
164 .It Fl MG | 168 .It Fl MG |
165 When generating dependency information, assume that missing files are | 169 When generating dependency information, assume that missing files are |
166 generated instead of failing. | 170 generated instead of failing. |
167 Not implemented. | 171 Not implemented. |
168 .It Fl MP | 172 .It Fl MP |
169 Issue dummy rules for all include files. | 173 Issue dummy rules for all include files. |
170 This prevents | 174 This prevents |
171 .Xr make 1 | 175 .Xr make 1 |
172 from choking if an include file is removed. | 176 from choking if an include file is removed. |
173 Not implemented. | 177 Not implemented. |
178 .It Fl MQ Ar target | |
179 Same as | |
180 .Fl MT | |
181 except that any | |
182 .Xr make 1 | |
183 metacharacters appearing in the target are escaped. | |
184 .It Fl MT Ar target | |
185 Set the name of the | |
186 .Xr make 1 | |
187 target appearing in the generated dependency information. | |
188 The default is the name of the input file with its suffix replaced | |
189 with the suffix for object files, normally | |
190 .Pa .o . | |
191 .\" If this option is given more than once, all named targets will | |
192 .\" be emitted. | |
193 .\" (The current operating mode framework doesn't support that.) | |
194 .El | |
195 .Ss More Include Path Options | |
196 .Bl -tag -width bubblebabble | |
197 .It Fl idirafter Ar path | |
198 Add the specified path to the | |
199 .Dq afterwards | |
200 include path. | |
201 This path is searched after all directories specified with | |
202 .Fl I | |
203 and the standard system directories. | |
204 Directories on this path are treated as containing system include | |
205 files. | |
206 .It Fl imacros Ar file | |
207 Read in | |
208 .Ar file | |
209 prior to reading the main input file, and preprocess it, but throw | |
210 away the output and retain only the macro definitions. | |
211 .It Fl include Ar file | |
212 Read in and preprocess | |
213 .Ar file | |
214 prior to reading the main input file. | |
215 .It Fl iprefix Ar prefix | |
216 Set the path prefix used with the | |
217 .Fl iwithprefix | |
218 option. | |
219 .It Fl iquote Ar path | |
220 Add | |
221 .Ar path | |
222 to the list of directories searched for include directives written | |
223 with quotes. | |
224 This list is not searched for include directives written with angle | |
225 brackets. | |
226 .It Fl iremap Ar string:replacement | |
227 Substitute | |
228 .Ar replacement | |
229 for | |
230 .Ar string | |
231 in the | |
232 .Dv __FILE__ | |
233 built-in macro. | |
234 Not supported. | |
235 .It Fl isysroot Ar path | |
236 Use | |
237 .Ar path | |
238 as the | |
239 .Dq system root , | |
240 that is, the directory under which the standard system paths are found. | |
241 .It Fl isystem Ar path | |
242 Add | |
243 .Ar path | |
244 to the list of system include directories. | |
245 This list is searched after the list given with | |
246 .Ar I . | |
247 Files found on this path are treated as system headers. | |
248 .It Fl iwithprefix Ar dir | |
249 Splice | |
250 .Ar dir | |
251 onto the prefix given with | |
252 .Fl iprefix | |
253 and add this directory as if it were specified with | |
254 .Fl idirafter . | |
255 .It Fl iwithprefixbefore | |
256 Like | |
257 -Fl iwithprefix | |
258 but adds the result as if it were specified with | |
259 .Fl I . | |
174 .El | 260 .El |
175 .Ss Diagnostic Options | 261 .Ss Diagnostic Options |
176 .Bl -tag -width bubblebabble | 262 .Bl -tag -width bubblebabble |
177 .It Fl dD | 263 .It Fl dD |
178 Dump all macro definitions, except for the predefined macros, after | 264 Dump all macro definitions, except for the predefined macros, after |
221 .Dq krc . | 307 .Dq krc . |
222 .It Fl traditional | 308 .It Fl traditional |
223 This option is accepted for compatibility with | 309 This option is accepted for compatibility with |
224 .Xr gcc 1 | 310 .Xr gcc 1 |
225 and ignored. | 311 and ignored. |
312 .It Fl x Ar lang | |
313 Adjust the preprocessor for the given language. | |
314 The only values accepted for | |
315 .Ar lang | |
316 are | |
317 .Dq assembler-with-cpp | |
318 and | |
319 .Dq c , | |
320 neither of which have any effect on the behavior of | |
321 .Nm . | |
226 .El | 322 .El |
227 .Sh FILES | 323 .Sh FILES |
228 The default list of directories searched for include files is: | 324 The default list of directories searched for include files is: |
229 .Bl -item -offset indent -compact | 325 .Bl -item -offset indent -compact |
230 .It | 326 .It |