📄 0176-0178.html
字号:
<HTML>
<HEAD>
<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>
</HEAD>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311046 //-->
<!-- TITLE=Linux Complete Command Reference//-->
<!-- AUTHOR=Red Hat//-->
<!-- PUBLISHER=Macmillan Computer Publishing//-->
<!-- IMPRINT=Sams//-->
<!-- CHAPTER=01 //-->
<!-- PAGES=0001-0736 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0173-0175.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0179-0180.html">Next</A></CENTER></P>
<A NAME="PAGENUM-176"><P>Page 176</P></A>
<!-- CODE //-->
<PRE>
_fmemorize_lookups _fno_default_inline _fno_defer_pop
_fno_function_cse _fno_inline _fno_peephole
_fomit_frame_pointer _frerun_cse_after_loop _fschedule_insns
_fschedule_insns2 _fstrength_reduce _fthread_jumps
_funroll_all_loops _funroll_loops _O _O2
</PRE>
<!-- END CODE //-->
<BLOCKQUOTE>
Preprocessor Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_Aassertion _C _dD _dM _dN _Dmacro[=defn ]_E _H_ idirafter dir _include file _imacros file _iprefix file _
iwithprefix dir _M _MD _MM _MMD _nostdinc _P _Umacro _undef
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Assembler Option
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_Wa,option
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Linker Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_llibrary _nostartfiles _nostdlib _static _shared _symbolic _ Xlinkernoption _Wl,option _u symbol
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Directory Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_Bprefix _Idir _I_ _Ldir
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Target Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_b machine _V version
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Configuration-Dependent Options<BR>
M680x0 Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_m68000_m68020 _m68020_40_m68030_m68040_m68881 _mbitfield _mc68000 _mc68020 _mfpa _mnobitfield _mrtd _mshort
_msoft_float
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
VAX Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_mg _mgnu _munix
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
SPARC Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_mepilogue _mfpu _mhard_float _mno_fpu _mno_epilogue _msoft_float _msparclite _mv8 _msupersparc _mcypress
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Convex Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_margcount _mc1 _mc2 _mnoargcount
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
AMD29K Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_m29000_m29050 _mbw _mdw _mkernel_registers _mlarge _mnbw _mnodw _msmall _mstack_check _muser_registers
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
M88K Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_m88000 _m88100 _m88110 _mbig_pic
_mcheck_zero_division _mhandle_large_shift
_midentify_revision _mno_check_zero_division
_mno_ocs_debug_info _mno_ocs_frame_position
_mno_optimize_arg_area _mno_serialize_volatile
_mno_underscores _mocs_debug_info
_mocs_frame_position _moptimize_arg_area
_mserialize_volatile _mshort_data_num
_msvr3 _msvr4 _mtrap_large_shift
_muse_div_instruction _mversion_03.00
_mwarn_passed_structs
</PRE>
<!-- END CODE //-->
<A NAME="PAGENUM-177"><P>Page 177</P></A>
<BLOCKQUOTE>
RS6000 Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_mfp_in_toc _mno_fop_in_toc
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
RT Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_mcall_lib_mul _mfp_arg_in_fpregs _mfp_arg_in_gregs
_mfull_fp_blocks _mhc_struct_return _min_line_mul
_mminimum_fp_blocks _mnohc_struct_return
</PRE>
<!-- END CODE //-->
<BLOCKQUOTE>
MIPS Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_mcpu=cpu type _mips2 _mips3 _mint64 _mlong64
_mlonglong128 _mmips_as _mgas _mrnames
_mno_rnames _mgpopt _mno_gpopt _mstats
_mno_stats _mmemcpy _mno_memcpy _mno_mips_tfile
_mmips_tfile _msoft_float _mhard_float _mabicalls
_mno_abicalls _mhalf_pic _mno_half_pic _G num _nocpp
</PRE>
<!-- END CODE //-->
<BLOCKQUOTE>
i386 Options
</BLOCKQUOTE>
<P>_m486 _mno_486 _msoft_float _mno_fp_ret_in_387
</P>
<BLOCKQUOTE>
HPPA Options
</BLOCKQUOTE>
<P>_mpa_risc_1_0 _mpa_risc_1_1 _mkernel _mshared_libs _ mno_shared_libs _mlong_calls _mdisable_fpregs
_mdisable_ indexing _mtrailing_colon
</P>
<BLOCKQUOTE>
i960 Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>_mcpu-type
_mnumerics _msoft_float _mleaf_procedures
_mno_leaf_procedures _mtail_call _mno_tail_call
_mcomplex_addr _mno_complex_addr _mcode_align
_mno_code_align _mic_compat _mic2.0_compat
_mic3.0_compat _masm_compat _mintel_asm
_mstrict_align _mno_strict_align _mold_align
_mno_old_align
</PRE>
<!-- END CODE //-->
<BLOCKQUOTE>
DEC Alpha Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>_mfp_regs _mno_fp_regs _mno_soft_float _msoft_float
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
System V Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>_G _Qy _Qn _YP,paths _Ym,dir
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Code-Generation Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_fcall_saved_reg _fcall_used_
reg _ffixed_reg _finhibit_
size_directive _fnonnull_
objects _fno_common _fno_ident
_fno_gnu_linker _fpcc_struct_
return _fpic _fPIC _freg_
struct_ return _fshared_data _
fshort_enums _fshort_double _
fvolatile _fvolatile_global _
fverbose_asm
</PRE>
<!-- END CODE //-->
<A NAME="PAGENUM-178"><P>Page 178</P></A>
<P><B>
OVERALL OPTIONS
</B>
</P>
<TABLE>
<TR><TD>
_x language
</TD><TD>
Specify explicitly the language
for the following input files (rather than choosing a default based on
the filename suffix). This option applies to all following input files until the next
_x option. Possible values of language are c,
objective_c, c_header, c++, cpp_output, assembler, and
assembler_with_cpp.
</TD></TR><TR><TD>
_x none
</TD><TD>
Turn off any specification of a language, so that subsequent files are handled according to their
filename suffixes (as they are if _x has not been used at all).
</TD></TR></TABLE>
<P>If you want only some of the four stages (preprocess, compile, assemble, link), you can use
_x (or filename suffixes) to tell gcc where to start, and one of the options
_c, _S, or _E to say where gcc is to stop. Note that some combinations (for example,
_x cpp_output _E) instruct gcc to do nothing at all.
</P>
<TABLE>
<TR><TD>
_c
</TD><TD>
Compile or assemble the source files, but do not link. The compiler output is an object file
corresponding to each source file.<BR>
By default, gcc makes the object filename for a source file by replacing the suffix
.c, .i, .s, and so on, with .o. Use _o to select another name.<BR>
gcc ignores any unrecognized input files (those that do not require compilation or assembly) with the
_c option.
</TD></TR><TR><TD>
_S
</TD><TD>
Stop after the stage of compilation proper; do not assemble. The output is an assembler code file for
each nonassembler input file specified.<BR>
By default, gcc makes the assembler filename for a source file by replacing the suffix
.c, .i, and so on, with .s. Use _o to select another name.
gcc ignores any input files that don't require compilation.
</TD></TR><TR><TD>
_E
</TD><TD>
Stop after the preprocessing stage; do not run the compiler proper. The output is preprocessed
source code, which is sent to the standard output.<BR>
gcc ignores input files that don't require preprocessing.
</TD></TR><TR><TD>
_o file
</TD><TD>
Place output in file file. This applies regardless to whatever sort of output
gcc is producing, whether it be an executable file, an object file, an assembler file, or preprocessed C code.
Since only one output file can be specified, it does not make sense to use
_o when compiling more than one input file, unless you are producing an executable file as output.
If you do not specify _o, the default is to put an executable file in
a.out, the object file for source.suffix in
source.o, its assembler file in source.s, and all preprocessed C source on standard output.
</TD></TR><TR><TD>
_v
</TD><TD>
Print (on standard error output) the commands executed to run the stages of compilation. Also print
the version number of the compiler driver program and of the preprocessor and the compiler proper.
</TD></TR><TR><TD>
_pipe
</TD><TD>
Use pipes rather than temporary files for communication between the various stages of compilation.
This fails to work on some systems where the assembler cannot read from a pipe; but the GNU assembler
has no trouble.
</TD></TR></TABLE>
<P><B>
LANGUAGE OPTIONS
</B>
</P>
<P>The following options control the dialect of C that the compiler accepts:
</P>
<TABLE>
<TR><TD>
_ansi
</TD><TD>
Support all ANSI standard C programs.
This turns off certain features of GNU C that are incompatible with ANSI C, such as the
asm, inline, and typeof keywords, and predefined macros such as
unix and vax that identify the type of system you are using. It also enables the undesirable and rarely used ANSI trigraph
feature, and disallows $ as part of identifiers. The alternate keywords
__asm__, __extension__, __inline__, and __typeof__ continue to work despite
_ansi. You would not want to use them in an ANSI C program, of course, but it is useful to put them in header files that might
be included in compilations done with _ansi. Alternate predefined macros such as
__unix__ and __vax__ are also available, with or without
_ansi.
The _ansi option does not cause non-ANSI programs to be rejected gratuitously. For that,
_pedantic is required in addition to _ansi.
</TD></TR></TABLE>
<P><CENTER>
<a href="0173-0175.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0179-0180.html">Next</A></CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -