📄 00000003.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>PREPROCESSOR OPTIONS <BR> These options control the C preprocessor, which is run on <BR> each C source file before actual compilation. <BR> <BR> If you use the `-E' option, GCC does nothing except pre- <BR> processing. Some of these options make sense only togeth- <BR> er with `-E' because they cause the preprocessor output to <BR> be unsuitable for actual compilation. <BR> <BR> -include file <BR> Process file as input before processing the regular <BR> input file. In effect, the contents of file are <BR> compiled first. Any `-D' and `-U' options on the <BR> command line are always processed before `-include <BR> file', regardless of the order in which they are <BR> written. All the `-include' and `-imacros' options <BR> are processed in the order in which they are writ- <BR> ten. <BR> <BR> -imacros file <BR> Process file as input, discarding the resulting <BR> output, before processing the regular input file. <BR> Because the output generated from file is discard- <BR> ed, the only effect of `-imacros file' is to make <BR> the macros defined in file available for use in the <BR> main input. The preprocessor evaluates any `-D' <BR> and `-U' options on the command line before pro- <BR> cessing `-imacrosfile', regardless of the order in <BR> which they are written. All the `-include' and <BR> `-imacros' options are processed in the order in <BR> which they are written. <BR> <BR> -idirafter dir <BR> Add the directory dir to the second include path. <BR> The directories on the second include path are <BR> searched when a header file is not found in any of <BR> the directories in the main include path (the one <BR> that `-I' adds to). <BR> <BR> -iprefix prefix <BR> Specify prefix as the prefix for subsequent <BR> `-iwithprefix' options. <BR> <BR> -iwithprefix dir <BR> Add a directory to the second include path. The <BR> directory's name is made by concatenating prefix <BR> and dir, where prefix was specified previously with <BR> `-iprefix'. <BR> <BR> -nostdinc <BR> Do not search the standard system directories for <BR> header files. Only the directories you have speci- <BR> fied with `-I' options (and the current directory, <BR> if appropriate) are searched. <BR> <BR> By using both `-nostdinc' and `-I-', you can limit <BR> the include-file search file to only those directo- <BR> ries you specify explicitly. <BR> <BR> -nostdinc++ <BR> Do not search for header files in the C++-specific <BR> standard directories, but do still search the other <BR> standard directories. (This option is used when <BR> building `libg++'.) <BR> <BR> -undef Do not predefine any nonstandard macros. (Includ- <BR> ing architecture flags). <BR> <BR> -E Run only the C preprocessor. Preprocess all the C <BR> source files specified and output the results to <BR> standard output or to the specified output file. <BR> <BR> -C Tell the preprocessor not to discard comments. <BR> Used with the `-E' option. <BR> <BR> -P Tell the preprocessor not to generate `#line' com- <BR> mands. Used with the `-E' option. <BR> <BR> -M [ -MG ] <BR> Tell the preprocessor to output a rule suitable for <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -