⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xscale_be-gcc.1

📁 Intel ixp425 toolchain
💻 1
📖 第 1 页 / 共 5 页
字号:
\&\fID30V Options\fR.Sp\&\fB\-mextmem  \-mextmemory  \-monchip  \-mno-asm-optimize  \-masm-optimize \&\-mbranch-cost=\fR\fIn\fR \fB\-mcond-exec=\fR\fIn\fR.Sp\&\fIS/390 and zSeries Options\fR.Sp\&\fB\-mhard-float  \-msoft-float  \-mbackchain  \-mno-backchain \&\-msmall-exec  \-mno-small-exec  \-mmvcle \-mno-mvcle \&\-m64 \-m31 \-mdebug \-mno-debug\fR.Sp\&\fI\s-1CRIS\s0 Options\fR.Sp\&\fB\-mcpu=\fR\fIcpu\fR \fB\-march=\fR\fIcpu\fR \fB\-mtune=\fR\fIcpu\fR \&\fB\-mmax-stack-frame=\fR\fIn\fR \fB\-melinux-stacksize=\fR\fIn\fR \&\fB\-metrax4 \-metrax100 \-mpdebug \-mcc-init \-mno-side-effects \&\-mstack-align \-mdata-align \-mconst-align \&\-m32\-bit \-m16\-bit \-m8\-bit \-mno-prologue-epilogue \-mno-gotplt \&\-melf \-maout \-melinux \-mlinux \-sim \-sim2\fR.Sp\&\fI\s-1PDP-11\s0 Options\fR.Sp\&\fB\-mfpu  \-msoft-float  \-mac0  \-mno-ac0  \-m40  \-m45  \-m10 \&\-mbcopy  \-mbcopy-builtin  \-mint32  \-mno-int16 \&\-mint16  \-mno-int32  \-mfloat32  \-mno-float64 \&\-mfloat64  \-mno-float32  \-mabshi  \-mno-abshi \&\-mbranch-expensive  \-mbranch-cheap \&\-msplit  \-mno-split  \-munix-asm  \-mdec-asm\fR.Sp\&\fIXstormy16 Options\fR.Sp\&\fB\-msim\fR.Sp\&\fIXtensa Options\fR.Sp\&\fB\-mbig-endian \-mlittle-endian \&\-mdensity \-mno-density \&\-mmac16 \-mno-mac16 \&\-mmul16 \-mno-mul16 \&\-mmul32 \-mno-mul32 \&\-mnsa \-mno-nsa \&\-mminmax \-mno-minmax \&\-msext \-mno-sext \&\-mbooleans \-mno-booleans \&\-mhard-float \-msoft-float \&\-mfused-madd \-mno-fused-madd \&\-mserialize-volatile \-mno-serialize-volatile \&\-mtext-section-literals \-mno-text-section-literals \&\-mtarget-align \-mno-target-align \&\-mlongcalls \-mno-longcalls\fR.Ip "\fICode Generation Options\fR" 4.IX Item "Code Generation Options"\&\fB\-fcall-saved-\fR\fIreg\fR  \fB\-fcall-used-\fR\fIreg\fR \&\fB\-ffixed-\fR\fIreg\fR \fB\-fexceptions \&\-fnon-call-exceptions  \-funwind-tables \&\-fasynchronous-unwind-tables \&\-finhibit-size-directive  \-finstrument-functions \&\-fno-common  \-fno-ident  \-fno-gnu-linker \&\-fpcc-struct-return  \-fpic  \-fPIC \&\-freg-struct-return  \-fshared-data  \-fshort-enums \&\-fshort-double  \-fvolatile \&\-fvolatile-global  \-fvolatile-static \&\-fverbose-asm  \-fpack-struct  \-fstack-check \&\-fstack-limit-register=\fR\fIreg\fR  \fB\-fstack-limit-symbol=\fR\fIsym\fR \&\fB\-fargument-alias  \-fargument-noalias \&\-fargument-noalias-global  \-fleading-underscore\fR.Sh "Options Controlling the Kind of Output".IX Subsection "Options Controlling the Kind of Output"Compilation can involve up to four stages: preprocessing, compilationproper, assembly and linking, always in that order.  The first threestages apply to an individual source file, and end by producing anobject file; linking combines all the object files (those newlycompiled, and those specified as input) into an executable file..PPFor any given input file, the file name suffix determines what kind ofcompilation is done:.Ip "\fIfile\fR\fB.c\fR" 4.IX Item "file.c"C source code which must be preprocessed..Ip "\fIfile\fR\fB.i\fR" 4.IX Item "file.i"C source code which should not be preprocessed..Ip "\fIfile\fR\fB.ii\fR" 4.IX Item "file.ii"\&\*(C+ source code which should not be preprocessed..Ip "\fIfile\fR\fB.m\fR" 4.IX Item "file.m"Objective-C source code.  Note that you must link with the library\&\fIlibobjc.a\fR to make an Objective-C program work..Ip "\fIfile\fR\fB.mi\fR" 4.IX Item "file.mi"Objective-C source code which should not be preprocessed..Ip "\fIfile\fR\fB.h\fR" 4.IX Item "file.h"C header file (not to be compiled or linked)..Ip "\fIfile\fR\fB.cc\fR" 4.IX Item "file.cc".PD 0.Ip "\fIfile\fR\fB.cp\fR" 4.IX Item "file.cp".Ip "\fIfile\fR\fB.cxx\fR" 4.IX Item "file.cxx".Ip "\fIfile\fR\fB.cpp\fR" 4.IX Item "file.cpp".Ip "\fIfile\fR\fB.c++\fR" 4.IX Item "file.c++".Ip "\fIfile\fR\fB.C\fR" 4.IX Item "file.C".PD\&\*(C+ source code which must be preprocessed.  Note that in \fB.cxx\fR,the last two letters must both be literally \fBx\fR.  Likewise,\&\fB.C\fR refers to a literal capital C..Ip "\fIfile\fR\fB.f\fR" 4.IX Item "file.f".PD 0.Ip "\fIfile\fR\fB.for\fR" 4.IX Item "file.for".Ip "\fIfile\fR\fB.FOR\fR" 4.IX Item "file.FOR".PDFortran source code which should not be preprocessed..Ip "\fIfile\fR\fB.F\fR" 4.IX Item "file.F".PD 0.Ip "\fIfile\fR\fB.fpp\fR" 4.IX Item "file.fpp".Ip "\fIfile\fR\fB.FPP\fR" 4.IX Item "file.FPP".PDFortran source code which must be preprocessed (with the traditionalpreprocessor)..Ip "\fIfile\fR\fB.r\fR" 4.IX Item "file.r"Fortran source code which must be preprocessed with a \s-1RATFOR\s0preprocessor (not included with \s-1GCC\s0)..Ip "\fIfile\fR\fB.ads\fR" 4.IX Item "file.ads"Ada source code file which contains a library unit declaration (adeclaration of a package, subprogram, or generic, or a genericinstantiation), or a library unit renaming declaration (a package,generic, or subprogram renaming declaration).  Such files are alsocalled \fIspecs\fR..Ip "\fIfile\fR\fB.adb\fR" 4.IX Item "file.adb"Ada source code file containing a library unit body (a subprogram orpackage body).  Such files are also called \fIbodies\fR..Ip "\fIfile\fR\fB.s\fR" 4.IX Item "file.s"Assembler code..Ip "\fIfile\fR\fB.S\fR" 4.IX Item "file.S"Assembler code which must be preprocessed..Ip "\fIother\fR" 4.IX Item "other"An object file to be fed straight into linking.Any file name with no recognized suffix is treated this way..PPYou can specify the input language explicitly with the \fB\-x\fR option:.Ip "\fB\-x\fR \fIlanguage\fR" 4.IX Item "-x language"Specify explicitly the \fIlanguage\fR for the following input files(rather than letting the compiler choose a default based on the filename suffix).  This option applies to all following input files untilthe next \fB\-x\fR option.  Possible values for \fIlanguage\fR are:.Sp.Vb 7\&        c  c-header  cpp-output\&        c++  c++-cpp-output\&        objective-c  objc-cpp-output\&        assembler  assembler-with-cpp\&        ada\&        f77  f77-cpp-input  ratfor\&        java.Ve.Ip "\fB\-x none\fR" 4.IX Item "-x none"Turn off any specification of a language, so that subsequent files arehandled according to their file name suffixes (as they are if \fB\-x\fRhas not been used at all)..Ip "\fB\-pass-exit-codes\fR" 4.IX Item "-pass-exit-codes"Normally the \fBgcc\fR program will exit with the code of 1 if anyphase of the compiler returns a non-success return code.  If you specify\&\fB\-pass-exit-codes\fR, the \fBgcc\fR program will instead return withnumerically highest error produced by any phase that returned an errorindication..PPIf you only want some of the stages of compilation, you can use\&\fB\-x\fR (or filename suffixes) to tell \fBgcc\fR where to start, andone of the options \fB\-c\fR, \fB\-S\fR, or \fB\-E\fR to say where\&\fBgcc\fR is to stop.  Note that some combinations (for example,\&\fB\-x cpp-output \-E\fR) instruct \fBgcc\fR to do nothing at all..Ip "\fB\-c\fR" 4.IX Item "-c"Compile or assemble the source files, but do not link.  The linkingstage simply is not done.  The ultimate output is in the form of anobject file for each source file..SpBy default, the object file name for a source file is made by replacingthe suffix \fB.c\fR, \fB.i\fR, \fB.s\fR, etc., with \fB.o\fR..SpUnrecognized input files, not requiring compilation or assembly, areignored..Ip "\fB\-S\fR" 4.IX Item "-S"Stop after the stage of compilation proper; do not assemble.  The outputis in the form of an assembler code file for each non-assembler inputfile specified..SpBy default, the assembler file name for a source file is made byreplacing the suffix \fB.c\fR, \fB.i\fR, etc., with \fB.s\fR..SpInput files that don't require compilation are ignored..Ip "\fB\-E\fR" 4.IX Item "-E"Stop after the preprocessing stage; do not run the compiler proper.  Theoutput is in the form of preprocessed source code, which is sent to thestandard output..SpInput files which don't require preprocessing are ignored..Ip "\fB\-o\fR \fIfile\fR" 4.IX Item "-o file"Place output in file \fIfile\fR.  This applies regardless to whateversort of output is being produced, whether it be an executable file,an object file, an assembler file or preprocessed C code..SpSince only one output file can be specified, it does not make sense touse \fB\-o\fR when compiling more than one input file, unless you areproducing an executable file as output..SpIf \fB\-o\fR is not specified, the default is to put an executable filein \fIa.out\fR, the object file for \fI\fIsource\fI.\fIsuffix\fI\fR in\&\fI\fIsource\fI.o\fR, its assembler file in \fI\fIsource\fI.s\fR, andall preprocessed C source on standard output..Ip "\fB\-v\fR" 4.IX Item "-v"Print (on standard error output) the commands executed to run the stagesof compilation.  Also print the version number of the compiler driverprogram and of the preprocessor and the compiler proper..Ip "\fB\-###\fR" 4.IX Item "-###"Like \fB\-v\fR except the commands are not executed and all commandarguments are quoted.  This is useful for shell scripts to capture thedriver-generated command lines..Ip "\fB\-pipe\fR" 4.IX Item "-pipe"Use pipes rather than temporary files for communication between thevarious stages of compilation.  This fails to work on some systems wherethe assembler is unable to read from a pipe; but the \s-1GNU\s0 assembler hasno trouble..Ip "\fB\*(--help\fR" 4.IX Item "help"Print (on the standard output) a description of the command line optionsunderstood by \fBgcc\fR.  If the \fB\-v\fR option is also specifiedthen \fB\*(--help\fR will also be passed on to the various processesinvoked by \fBgcc\fR, so that they can display the command line optionsthey accept.  If the \fB\-W\fR option is also specified then commandline options which have no documentation associated with them will alsobe displayed..Ip "\fB\*(--target-help\fR" 4.IX Item "target-help"Print (on the standard output) a description of target specific commandline options for each tool..Sh "Compiling \*(C+ Programs".IX Subsection "Compiling  Programs"\&\*(C+ source files conventionally use one of the suffixes \fB.C\fR,\&\fB.cc\fR, \fB.cpp\fR, \fB.c++\fR, \fB.cp\fR, or \fB.cxx\fR;preprocessed \*(C+ files use the suffix \fB.ii\fR.  \s-1GCC\s0 recognizesfiles with these names and compiles them as \*(C+ programs even if youcall the compiler the same way as for compiling C programs (usually withthe name \fBgcc\fR)..PPHowever, \*(C+ programs often require class libraries as well as acompiler that understands the \*(C+ language\-\-\-and under somecircumstances, you might want to compile programs from standard input,or otherwise without a suffix that flags them as \*(C+ programs.\&\fBg++\fR is a program that calls \s-1GCC\s0 with the default languageset to \*(C+, and automatically specifies linking against the \*(C+library.  On many systems, \fBg++\fR is alsoinstalled with the name \fBc++\fR..PPWhen you compile \*(C+ programs, you may specify many of the samecommand-line options that you use for compiling programs in anylanguage; or command-line options meaningful for C and relatedlanguages; or options that are meaningful only for \*(C+ programs..Sh "Options Controlling C Dialect".IX Subsection "Options Controlling C Dialect"The following options control the dialect of C (or languages derivedfrom C, such as \*(C+ and Objective-C) that the compiler accepts:.Ip "\fB\-ansi\fR" 4.IX Item "-ansi"In C mode, support all \s-1ISO\s0 C89 programs.  In \*(C+ mode,remove \s-1GNU\s0 extensions that conflict with \s-1ISO\s0 \*(C+..SpThis turns off certain features of \s-1GCC\s0 that are incompatible with \s-1ISO\s0C89 (when compiling C code), or of standard \*(C+ (when compiling \*(C+ code),such as the \f(CW\*(C`asm\*(C'\fR and \f(CW\*(C`typeof\*(C'\fR keywords, andpredefined macros such as \f(CW\*(C`unix\*(C'\fR and \f(CW\*(C`vax\*(C'\fR that identify thetype of system you are using.  It also enables the undesirable andrarely used \s-1ISO\s0 trigraph feature.  For the C compiler,it disables recognition of \*(C+ style \fB//\fR comments as well asthe \f(CW\*(C`inline\*(C'\fR keyword..SpThe alternate keywords \f(CW\*(C`_\|_asm_\|_\*(C'\fR, \f(CW\*(C`_\|_extension_\|_\*(C'\fR,\&\f(CW\*(C`_\|_inline_\|_\*(C'\fR and \f(CW\*(C`_\|_typeof_\|_\*(C'\fR continue to work despite\&\fB\-ansi\fR.  You would not want to use them in an \s-1ISO\s0 C program, ofcourse, but it is useful to put them in header files that might be includedin compilations done with \fB\-ansi\fR.  Alternate predefined macrossuch as \f(CW\*(C`_\|_unix_\|_\*(C'\fR and \f(CW\*(C`_\|_vax_\|_\*(C'\fR are also available, with orwithout \fB\-ansi\fR..Sp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -