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

📄 xscale_be-gcc.1

📁 Intel ixp425 toolchain
💻 1
📖 第 1 页 / 共 5 页
字号:
The \fB\-ansi\fR option does not cause non-ISO programs to berejected gratuitously.  For that, \fB\-pedantic\fR is required inaddition to \fB\-ansi\fR.  .SpThe macro \f(CW\*(C`_\|_STRICT_ANSI_\|_\*(C'\fR is predefined when the \fB\-ansi\fRoption is used.  Some header files may notice this macro and refrainfrom declaring certain functions or defining certain macros that the\&\s-1ISO\s0 standard doesn't call for; this is to avoid interfering with anyprograms that might use these names for other things..SpFunctions which would normally be built in but do not have semanticsdefined by \s-1ISO\s0 C (such as \f(CW\*(C`alloca\*(C'\fR and \f(CW\*(C`ffs\*(C'\fR) are not built-infunctions with \fB\-ansi\fR is used.  .Ip "\fB\-std=\fR" 4.IX Item "-std="Determine the language standard.  This option is currently onlysupported when compiling C.  A value for this option must be provided;possible values are.RS 4.Ip "\fBc89\fR" 4.IX Item "c89".PD 0.Ip "\fBiso9899:1990\fR" 4.IX Item "iso9899:1990".PD\&\s-1ISO\s0 C89 (same as \fB\-ansi\fR)..Ip "\fBiso9899:199409\fR" 4.IX Item "iso9899:199409"\&\s-1ISO\s0 C89 as modified in amendment 1..Ip "\fBc99\fR" 4.IX Item "c99".PD 0.Ip "\fBc9x\fR" 4.IX Item "c9x".Ip "\fBiso9899:1999\fR" 4.IX Item "iso9899:1999".Ip "\fBiso9899:199x\fR" 4.IX Item "iso9899:199x".PD\&\s-1ISO\s0 C99.  Note that this standard is not yet fully supported; see<\fBhttp://gcc.gnu.org/gcc-3.1/c99status.html\fR> for more information.  Thenames \fBc9x\fR and \fBiso9899:199x\fR are deprecated..Ip "\fBgnu89\fR" 4.IX Item "gnu89"Default, \s-1ISO\s0 C89 plus \s-1GNU\s0 extensions (including some C99 features)..Ip "\fBgnu99\fR" 4.IX Item "gnu99".PD 0.Ip "\fBgnu9x\fR" 4.IX Item "gnu9x".PD\&\s-1ISO\s0 C99 plus \s-1GNU\s0 extensions.  When \s-1ISO\s0 C99 is fully implemented in \s-1GCC\s0,this will become the default.  The name \fBgnu9x\fR is deprecated..RE.RS 4.SpEven when this option is not specified, you can still use some of thefeatures of newer standards in so far as they do not conflict withprevious C standards.  For example, you may use \f(CW\*(C`_\|_restrict_\|_\*(C'\fR evenwhen \fB\-std=c99\fR is not specified..SpThe \fB\-std\fR options specifying some version of \s-1ISO\s0 C have the sameeffects as \fB\-ansi\fR, except that features that were not in \s-1ISO\s0 C89but are in the specified version (for example, \fB//\fR comments andthe \f(CW\*(C`inline\*(C'\fR keyword in \s-1ISO\s0 C99) are not disabled..RE.Ip "\fB\-aux-info\fR \fIfilename\fR" 4.IX Item "-aux-info filename"Output to the given filename prototyped declarations for all functionsdeclared and/or defined in a translation unit, including those in headerfiles.  This option is silently ignored in any language other than C..SpBesides declarations, the file indicates, in comments, the origin ofeach declaration (source file and line), whether the declaration wasimplicit, prototyped or unprototyped (\fBI\fR, \fBN\fR for new or\&\fBO\fR for old, respectively, in the first character after the linenumber and the colon), and whether it came from a declaration or adefinition (\fBC\fR or \fBF\fR, respectively, in the followingcharacter).  In the case of function definitions, a K&R-style list ofarguments followed by their declarations is also provided, insidecomments, after the declaration..Ip "\fB\-fno-asm\fR" 4.IX Item "-fno-asm"Do not recognize \f(CW\*(C`asm\*(C'\fR, \f(CW\*(C`inline\*(C'\fR or \f(CW\*(C`typeof\*(C'\fR as akeyword, so that code can use these words as identifiers.  You can usethe keywords \f(CW\*(C`_\|_asm_\|_\*(C'\fR, \f(CW\*(C`_\|_inline_\|_\*(C'\fR and \f(CW\*(C`_\|_typeof_\|_\*(C'\fRinstead.  \fB\-ansi\fR implies \fB\-fno-asm\fR..SpIn \*(C+, this switch only affects the \f(CW\*(C`typeof\*(C'\fR keyword, since\&\f(CW\*(C`asm\*(C'\fR and \f(CW\*(C`inline\*(C'\fR are standard keywords.  You may want touse the \fB\-fno-gnu-keywords\fR flag instead, which has the sameeffect.  In C99 mode (\fB\-std=c99\fR or \fB\-std=gnu99\fR), thisswitch only affects the \f(CW\*(C`asm\*(C'\fR and \f(CW\*(C`typeof\*(C'\fR keywords, since\&\f(CW\*(C`inline\*(C'\fR is a standard keyword in \s-1ISO\s0 C99..Ip "\fB\-fno-builtin\fR" 4.IX Item "-fno-builtin".PD 0.Ip "\fB\-fno-builtin-\fR\fIfunction\fR\fB \fR(C and Objective-C only)" 4.IX Item "-fno-builtin-function (C and Objective-C only)".PDDon't recognize built-in functions that do not begin with\&\fB_\|_builtin_\fR as prefix.  .Sp\&\s-1GCC\s0 normally generates special code to handle certain built-in functionsmore efficiently; for instance, calls to \f(CW\*(C`alloca\*(C'\fR may become singleinstructions that adjust the stack directly, and calls to \f(CW\*(C`memcpy\*(C'\fRmay become inline copy loops.  The resulting code is often both smallerand faster, but since the function calls no longer appear as such, youcannot set a breakpoint on those calls, nor can you change the behaviorof the functions by linking with a different library..SpIn \*(C+, \fB\-fno-builtin\fR is always in effect.  The \fB\-fbuiltin\fRoption has no effect.  Therefore, in \*(C+, the only way to get theoptimization benefits of built-in functions is to call the functionusing the \fB_\|_builtin_\fR prefix.  The \s-1GNU\s0 \*(C+ Standard Library usesbuilt-in functions to implement many functions (like\&\f(CW\*(C`std::strchr\*(C'\fR), so that you automatically get efficient code..SpWith the \fB\-fno-builtin-\fR\fIfunction\fR option, not availablewhen compiling \*(C+, only the built-in function \fIfunction\fR isdisabled.  \fIfunction\fR must not begin with \fB_\|_builtin_\fR.  If afunction is named this is not built-in in this version of \s-1GCC\s0, thisoption is ignored.  There is no corresponding\&\fB\-fbuiltin-\fR\fIfunction\fR option; if you wish to enablebuilt-in functions selectively when using \fB\-fno-builtin\fR or\&\fB\-ffreestanding\fR, you may define macros such as:.Sp.Vb 2\&        #define abs(n)          __builtin_abs ((n))\&        #define strcpy(d, s)    __builtin_strcpy ((d), (s)).Ve.Ip "\fB\-fhosted\fR" 4.IX Item "-fhosted"Assert that compilation takes place in a hosted environment.  This implies\&\fB\-fbuiltin\fR.  A hosted environment is one in which theentire standard library is available, and in which \f(CW\*(C`main\*(C'\fR has a returntype of \f(CW\*(C`int\*(C'\fR.  Examples are nearly everything except a kernel.This is equivalent to \fB\-fno-freestanding\fR..Ip "\fB\-ffreestanding\fR" 4.IX Item "-ffreestanding"Assert that compilation takes place in a freestanding environment.  Thisimplies \fB\-fno-builtin\fR.  A freestanding environmentis one in which the standard library may not exist, and program startup maynot necessarily be at \f(CW\*(C`main\*(C'\fR.  The most obvious example is an \s-1OS\s0 kernel.This is equivalent to \fB\-fno-hosted\fR..Ip "\fB\-trigraphs\fR" 4.IX Item "-trigraphs"Support \s-1ISO\s0 C trigraphs.  The \fB\-ansi\fR option (and \fB\-std\fRoptions for strict \s-1ISO\s0 C conformance) implies \fB\-trigraphs\fR..Ip "\fB\-no-integrated-cpp\fR" 4.IX Item "-no-integrated-cpp"Invoke the external cpp during compilation.  The default is to use theintegrated cpp (internal cpp).  This option also allows auser-supplied cpp via the \fB\-B\fR option.  This flag is applicablein both C and \*(C+ modes..SpWe do not guarantee to retain this option in future, and we may changeits semantics..Ip "\fB\-traditional\fR" 4.IX Item "-traditional"Attempt to support some aspects of traditional C compilers.Specifically:.RS 4.Ip "\(bu" 4All \f(CW\*(C`extern\*(C'\fR declarations take effect globally even if theyare written inside of a function definition.  This includes implicitdeclarations of functions..Ip "\(bu" 4The newer keywords \f(CW\*(C`typeof\*(C'\fR, \f(CW\*(C`inline\*(C'\fR, \f(CW\*(C`signed\*(C'\fR, \f(CW\*(C`const\*(C'\fRand \f(CW\*(C`volatile\*(C'\fR are not recognized.  (You can still use thealternative keywords such as \f(CW\*(C`_\|_typeof_\|_\*(C'\fR, \f(CW\*(C`_\|_inline_\|_\*(C'\fR, andso on.).Ip "\(bu" 4Comparisons between pointers and integers are always allowed..Ip "\(bu" 4Integer types \f(CW\*(C`unsigned short\*(C'\fR and \f(CW\*(C`unsigned char\*(C'\fR promoteto \f(CW\*(C`unsigned int\*(C'\fR..Ip "\(bu" 4Out-of-range floating point literals are not an error..Ip "\(bu" 4Certain constructs which \s-1ISO\s0 regards as a single invalid preprocessingnumber, such as \fB0xe-0xd\fR, are treated as expressions instead..Ip "\(bu" 4String ``constants'' are not necessarily constant; they are stored inwritable space, and identical looking constants are allocatedseparately.  (This is the same as the effect of\&\fB\-fwritable-strings\fR.).Ip "\(bu" 4All automatic variables not declared \f(CW\*(C`register\*(C'\fR are preserved by\&\f(CW\*(C`longjmp\*(C'\fR.  Ordinarily, \s-1GNU\s0 C follows \s-1ISO\s0 C: automatic variablesnot declared \f(CW\*(C`volatile\*(C'\fR may be clobbered..Ip "\(bu" 4The character escape sequences \fB\ex\fR and \fB\ea\fR evaluate as theliteral characters \fBx\fR and \fBa\fR respectively.  Without\&\fB\-traditional\fR, \fB\ex\fR is a prefix for the hexadecimalrepresentation of a character, and \fB\ea\fR produces a bell..RE.RS 4.SpThis option is deprecated and may be removed..SpYou may wish to use \fB\-fno-builtin\fR as well as \fB\-traditional\fRif your program uses names that are normally \s-1GNU\s0 C built-in functions forother purposes of its own..SpYou cannot use \fB\-traditional\fR if you include any header files thatrely on \s-1ISO\s0 C features.  Some vendors are starting to ship systems with\&\s-1ISO\s0 C header files and you cannot use \fB\-traditional\fR on suchsystems to compile files that include any system headers..SpThe \fB\-traditional\fR option also enables \fB\-traditional-cpp\fR..RE.Ip "\fB\-traditional-cpp\fR" 4.IX Item "-traditional-cpp"Attempt to support some aspects of traditional C preprocessors.See the \s-1GNU\s0 \s-1CPP\s0 manual for details..Ip "\fB\-fcond-mismatch\fR" 4.IX Item "-fcond-mismatch"Allow conditional expressions with mismatched types in the second andthird arguments.  The value of such an expression is void.  This optionis not supported for \*(C+..Ip "\fB\-funsigned-char\fR" 4.IX Item "-funsigned-char"Let the type \f(CW\*(C`char\*(C'\fR be unsigned, like \f(CW\*(C`unsigned char\*(C'\fR..SpEach kind of machine has a default for what \f(CW\*(C`char\*(C'\fR shouldbe.  It is either like \f(CW\*(C`unsigned char\*(C'\fR by default or like\&\f(CW\*(C`signed char\*(C'\fR by default..SpIdeally, a portable program should always use \f(CW\*(C`signed char\*(C'\fR or\&\f(CW\*(C`unsigned char\*(C'\fR when it depends on the signedness of an object.But many programs have been written to use plain \f(CW\*(C`char\*(C'\fR andexpect it to be signed, or expect it to be unsigned, depending on themachines they were written for.  This option, and its inverse, let youmake such a program work with the opposite default..SpThe type \f(CW\*(C`char\*(C'\fR is always a distinct type from each of\&\f(CW\*(C`signed char\*(C'\fR or \f(CW\*(C`unsigned char\*(C'\fR, even though its behavioris always just like one of those two..Ip "\fB\-fsigned-char\fR" 4.IX Item "-fsigned-char"Let the type \f(CW\*(C`char\*(C'\fR be signed, like \f(CW\*(C`signed char\*(C'\fR..SpNote that this is equivalent to \fB\-fno-unsigned-char\fR, which isthe negative form of \fB\-funsigned-char\fR.  Likewise, the option\&\fB\-fno-signed-char\fR is equivalent to \fB\-funsigned-char\fR..Ip "\fB\-fsigned-bitfields\fR" 4.IX Item "-fsigned-bitfields".PD 0.Ip "\fB\-funsigned-bitfields\fR" 4.IX Item "-funsigned-bitfields".Ip "\fB\-fno-signed-bitfields\fR" 4.IX Item "-fno-signed-bitfields".Ip "\fB\-fno-unsigned-bitfields\fR" 4.IX Item "-fno-unsigned-bitfields".PDThese options control whether a bit-field is signed or unsigned, when thedeclaration does not use either \f(CW\*(C`signed\*(C'\fR or \f(CW\*(C`unsigned\*(C'\fR.  Bydefault, such a bit-field is signed, because this is consistent: thebasic integer types such as \f(CW\*(C`int\*(C'\fR are signed types..SpHowever, when \fB\-traditional\fR is used, bit-fields are all unsignedno matter what..Ip "\fB\-fwritable-strings\fR" 4.IX Item "-fwritable-strings"Store string constants in the writable data segment and don't uniquizethem.  This is for compatibility with old programs which assume they canwrite into string constants.  The option \fB\-traditional\fR also hasthis effect..SpWriting into string constants is a very bad idea; ``constants'' shouldbe constant..Ip "\fB\-fallow-single-precision\fR" 4.IX Item "-fallow-single-precision"Do not promote single precision math operations to double precision,even when compiling with \fB\-traditional\fR..SpTraditional K&R C promotes all floating point operations to doubleprecision, regardless of the sizes of the operands.   On thearchitecture for which you are compiling, single precision may be fasterthan double precision.   If you must use \fB\-traditional\fR, but wantto use single precision operations when the operands are singleprecision, use this option.   This option has no effect when compilingwith \s-1ISO\s0 or \s-1GNU\s0 C conventions (the default)..Ip "\fB\-fshort-wchar\fR" 4.IX Item "-fshort-wchar"Override the underlying type for \fBwchar_t\fR to be \fBshortunsigned int\fR instead of the default for the target.  This option isuseful for building programs to run under \s-1WINE\s0..Sh "Options Controlling \*(C+ Dialect".IX Subsection "Options Controlling  Dialect"This section describes the command-line options that are only meaningfulfor \*(C+ programs; but you can also use most of the \s-1GNU\s0 compiler optionsregardless of what language your program is in.  For example, youmight compile a file \f(CW\*(C`firstClass.C\*(C'\fR like this:.PP.Vb 1\&        g++ -g -frepo -O -c firstClass.C.VeIn this example, only \fB\-frepo\fR is an option meantonly for \*(C+ programs; you can use the other options with anylanguage supported by \s-1GCC\s0..PPHere is a list of options that are \fIonly\fR for compiling \*(C+ programs:.Ip "\fB\-fno-access-control\fR" 4.IX Item "-fno-access-control"Turn off all access checking.  This switch is mainly useful for workingaround bugs in the access control code..Ip "\fB\-fcheck-new\fR" 4.IX Item "-fcheck-new"Check that the pointer returned by \f(CW\*(C`operator new\*(C'\fR is non-null

⌨️ 快捷键说明

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