📄 00000001.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>OVERALL OPTIONS <BR> -x language <BR> Specify explicitly the language for the following <BR> input files (rather than choosing a default based <BR> on the file name suffix) . This option applies to <BR> all following input files until the next `-x' op- <BR> tion. Possible values of language are `c', <BR> `objective-c', `c-header', `c++', `cpp-output', <BR> `assembler', and `assembler-with-cpp'. <BR> <BR> -x none <BR> Turn off any specification of a language, so that <BR> subsequent files are handled according to their <BR> file name suffixes (as they are if `-x' has not <BR> been used at all). <BR> <BR> If you want only some of the four stages (preprocess, com- <BR> pile, assemble, link), you can use `-x' (or filename suf- <BR> fixes) to tell gcc where to start, and one of the options <BR> `-c', `-S', or `-E' to say where gcc is to stop. Note <BR> that some combinations (for example, `-x cpp-output -E') <BR> instruct gcc to do nothing at all. <BR> <BR> -c Compile or assemble the source files, but do not <BR> link. The compiler output is an object file corre- <BR> sponding to each source file. <BR> <BR> By default, GCC makes the object file name for a <BR> source file by replacing the suffix `.c', `.i', <BR> `.s', etc., with `.o'. Use -o to select another <BR> name. <BR> <BR> GCC ignores any unrecognized input files (those <BR> that do not require compilation or assembly) with <BR> the -c option. <BR> <BR> -S Stop after the stage of compilation proper; do not <BR> assemble. The output is an assembler code file for <BR> each non-assembler input file specified. <BR> <BR> By default, GCC makes the assembler file name for a <BR> source file by replacing the suffix `.c', `.i', <BR> etc., with `.s'. Use -o to select another name. <BR> <BR> GCC ignores any input files that don't require com- <BR> pilation. <BR> <BR> -E Stop after the preprocessing stage; do not run the <BR> compiler proper. The output is preprocessed source <BR> code, which is sent to the standard output. <BR> <BR> GCC ignores input files which don't require prepro- <BR> cessing. <BR> <BR> -o file <BR> Place output in file file. This applies regardless <BR> to whatever sort of output GCC is producing, <BR> whether it be an executable file, an object file, <BR> an assembler file or preprocessed C code. <BR> <BR> Since only one output file can be specified, it <BR> does not make sense to use `-o' when compiling more <BR> than one input file, unless you are producing an <BR> executable file as output. <BR> <BR> If you do not specify `-o', the default is to put <BR> an executable file in `a.out', the object file for <BR> `source.suffix' in `source.o', its assembler file <BR> in `source.s', and all preprocessed C source on <BR> standard output. <BR> <BR> -v Print (on standard error output) the commands exe- <BR> cuted to run the stages of compilation. Also print <BR> the version number of the compiler driver program <BR> and of the preprocessor and the compiler proper. <BR> <BR> -pipe Use pipes rather than temporary files for communi- <BR> cation between the various stages of compilation. <BR> This fails to work on some systems where the assem- <BR> bler cannot read from a pipe; but the GNU assembler <BR> has no trouble. <BR> <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -