xscale_be-cpp.1
来自「Intel ixp425 toolchain」· 1 代码 · 共 817 行 · 第 1/3 页
1
817 行
Warn whenever a comment-start sequence \fB/*\fR appears in a \fB/*\fRcomment, or whenever a backslash-newline appears in a \fB//\fR comment.(Both forms have the same effect.).Ip "\fB\-Wtrigraphs\fR" 4.IX Item "-Wtrigraphs"Warn if any trigraphs are encountered. This option used to take effectonly if \fB\-trigraphs\fR was also specified, but now worksindependently. Warnings are not given for trigraphs within comments, asthey do not affect the meaning of the program..Ip "\fB\-Wtraditional\fR" 4.IX Item "-Wtraditional"Warn about certain constructs that behave differently in traditional and\&\s-1ISO\s0 C. Also warn about \s-1ISO\s0 C constructs that have no traditional Cequivalent, and problematic constructs which should be avoided..Ip "\fB\-Wimport\fR" 4.IX Item "-Wimport"Warn the first time \fB#import\fR is used..Ip "\fB\-Wundef\fR" 4.IX Item "-Wundef"Warn whenever an identifier which is not a macro is encountered in an\&\fB#if\fR directive, outside of \fBdefined\fR. Such identifiers arereplaced with zero..Ip "\fB\-Werror\fR" 4.IX Item "-Werror"Make all warnings into hard errors. Source code which triggers warningswill be rejected..Ip "\fB\-Wsystem-headers\fR" 4.IX Item "-Wsystem-headers"Issue warnings for code in system headers. These are normally unhelpfulin finding bugs in your own code, therefore suppressed. If you areresponsible for the system library, you may want to see them..Ip "\fB\-w\fR" 4.IX Item "-w"Suppress all warnings, including those which \s-1GNU\s0 \s-1CPP\s0 issues by default..Ip "\fB\-pedantic\fR" 4.IX Item "-pedantic"Issue all the mandatory diagnostics listed in the C standard. Some ofthem are left out by default, since they trigger frequently on harmlesscode..Ip "\fB\-pedantic-errors\fR" 4.IX Item "-pedantic-errors"Issue all the mandatory diagnostics, and make all mandatory diagnosticsinto errors. This includes mandatory diagnostics that \s-1GCC\s0 issueswithout \fB\-pedantic\fR but treats as warnings..Ip "\fB\-M\fR" 4.IX Item "-M"Instead of outputting the result of preprocessing, output a rulesuitable for \fBmake\fR describing the dependencies of the mainsource file. The preprocessor outputs one \fBmake\fR rule containingthe object file name for that source file, a colon, and the names of allthe included files, including those coming from \fB\-include\fR or\&\fB\-imacros\fR command line options..SpUnless specified explicitly (with \fB\-MT\fR or \fB\-MQ\fR), theobject file name consists of the basename of the source file with anysuffix replaced with object file suffix. If there are many includedfiles then the rule is split into several lines using \fB\e\fR\-newline.The rule has no commands..SpThis option does not suppress the preprocessor's debug output, such as\&\fB\-dM\fR. To avoid mixing such debug output with the dependencyrules you should explicitly specify the dependency output file with\&\fB\-MF\fR, or use an environment variable like\&\fB\s-1DEPENDENCIES_OUTPUT\s0\fR. Debug outputwill still be sent to the regular output stream as normal..SpPassing \fB\-M\fR to the driver implies \fB\-E\fR..Ip "\fB\-MM\fR" 4.IX Item "-MM"Like \fB\-M\fR but do not mention header files that are found insystem header directories, nor header files that are included,directly or indirectly, from such a header..SpThis implies that the choice of angle brackets or double quotes in an\&\fB#include\fR directive does not in itself determine whether thatheader will appear in \fB\-MM\fR dependency output. This is aslight change in semantics from \s-1GCC\s0 versions 3.0 and earlier..Ip "\fB\-MF\fR \fIfile\fR" 4.IX Item "-MF file"@anchor{\-MF}When used with \fB\-M\fR or \fB\-MM\fR, specifies afile to write the dependencies to. If no \fB\-MF\fR switch is giventhe preprocessor sends the rules to the same place it would have sentpreprocessed output..SpWhen used with the driver options \fB\-MD\fR or \fB\-MMD\fR,\&\fB\-MF\fR overrides the default dependency output file..Ip "\fB\-MG\fR" 4.IX Item "-MG"When used with \fB\-M\fR or \fB\-MM\fR, \fB\-MG\fR says to treat missingheader files as generated files and assume they live in the samedirectory as the source file. It suppresses preprocessed output, as amissing header file is ordinarily an error..SpThis feature is used in automatic updating of makefiles..Ip "\fB\-MP\fR" 4.IX Item "-MP"This option instructs \s-1CPP\s0 to add a phony target for each dependencyother than the main file, causing each to depend on nothing. Thesedummy rules work around errors \fBmake\fR gives if you remove headerfiles without updating the \fIMakefile\fR to match..SpThis is typical output:.Sp.Vb 1\& test.o: test.c test.h.Ve.Vb 1\& test.h:.Ve.Ip "\fB\-MT\fR \fItarget\fR" 4.IX Item "-MT target"Change the target of the rule emitted by dependency generation. Bydefault \s-1CPP\s0 takes the name of the main input file, including any path,deletes any file suffix such as \fB.c\fR, and appends the platform'susual object suffix. The result is the target..SpAn \fB\-MT\fR option will set the target to be exactly the string youspecify. If you want multiple targets, you can specify them as a singleargument to \fB\-MT\fR, or use multiple \fB\-MT\fR options..SpFor example, \fB\-MT\ '$(objpfx)foo.o'\fR might give.Sp.Vb 1\& $(objpfx)foo.o: foo.c.Ve.Ip "\fB\-MQ\fR \fItarget\fR" 4.IX Item "-MQ target"Same as \fB\-MT\fR, but it quotes any characters which are special toMake. \fB\-MQ\ '$(objpfx)foo.o'\fR gives.Sp.Vb 1\& $$(objpfx)foo.o: foo.c.VeThe default target is automatically quoted, as if it were given with\&\fB\-MQ\fR..Ip "\fB\-MD\fR" 4.IX Item "-MD"\&\fB\-MD\fR is equivalent to \fB\-M \-MF\fR \fIfile\fR, except that\&\fB\-E\fR is not implied. The driver determines \fIfile\fR based onwhether an \fB\-o\fR option is given. If it is, the driver uses itsargument but with a suffix of \fI.d\fR, otherwise it take thebasename of the input file and applies a \fI.d\fR suffix..SpIf \fB\-MD\fR is used in conjunction with \fB\-E\fR, any\&\fB\-o\fR switch is understood to specify the dependency output file(but \f(CW@pxref\fR{\-MF}), but if used without \fB\-E\fR, each \fB\-o\fRis understood to specify a target object file..SpSince \fB\-E\fR is not implied, \fB\-MD\fR can be used to generatea dependency output file as a side-effect of the compilation process..Ip "\fB\-MMD\fR" 4.IX Item "-MMD"Like \fB\-MD\fR except mention only user header files, not system\&\-header files..Ip "\fB\-x c\fR" 4.IX Item "-x c".PD 0.Ip "\fB\-x c++\fR" 4.IX Item "-x c++".Ip "\fB\-x objective-c\fR" 4.IX Item "-x objective-c".Ip "\fB\-x assembler-with-cpp\fR" 4.IX Item "-x assembler-with-cpp".PDSpecify the source language: C, \*(C+, Objective-C, or assembly. This hasnothing to do with standards conformance or extensions; it merelyselects which base syntax to expect. If you give none of these options,cpp will deduce the language from the extension of the source file:\&\fB.c\fR, \fB.cc\fR, \fB.m\fR, or \fB.S\fR. Some other commonextensions for \*(C+ and assembly are also recognized. If cpp does notrecognize the extension, it will treat the file as C; this is the mostgeneric mode..Sp\&\fBNote:\fR Previous versions of cpp accepted a \fB\-lang\fR optionwhich selected both the language and the standards conformance level.This option has been removed, because it conflicts with the \fB\-l\fRoption..Ip "\fB\-std=\fR\fIstandard\fR" 4.IX Item "-std=standard".PD 0.Ip "\fB\-ansi\fR" 4.IX Item "-ansi".PDSpecify the standard to which the code should conform. Currently cpponly knows about the standards for C; other language standards will beadded in the future..Sp\&\fIstandard\fRmay be one of:.RS 4.if n .Ip "\f(CW""""iso9899:1990""""\fR" 4.el .Ip "\f(CWiso9899:1990\fR" 4.IX Item "iso9899:1990".PD 0.if n .Ip "\f(CW""""c89""""\fR" 4.el .Ip "\f(CWc89\fR" 4.IX Item "c89".PDThe \s-1ISO\s0 C standard from 1990. \fBc89\fR is the customary shorthand forthis version of the standard..SpThe \fB\-ansi\fR option is equivalent to \fB\-std=c89\fR..if n .Ip "\f(CW""""iso9899:199409""""\fR" 4.el .Ip "\f(CWiso9899:199409\fR" 4.IX Item "iso9899:199409"The 1990 C standard, as amended in 1994..if n .Ip "\f(CW""""iso9899:1999""""\fR" 4.el .Ip "\f(CWiso9899:1999\fR" 4.IX Item "iso9899:1999".PD 0.if n .Ip "\f(CW""""c99""""\fR" 4.el .Ip "\f(CWc99\fR" 4.IX Item "c99".if n .Ip "\f(CW""""iso9899:199x""""\fR" 4.el .Ip "\f(CWiso9899:199x\fR" 4.IX Item "iso9899:199x".if n .Ip "\f(CW""""c9x""""\fR" 4.el .Ip "\f(CWc9x\fR" 4.IX Item "c9x".PDThe revised \s-1ISO\s0 C standard, published in December 1999. Beforepublication, this was known as C9X..if n .Ip "\f(CW""""gnu89""""\fR" 4.el .Ip "\f(CWgnu89\fR" 4.IX Item "gnu89"The 1990 C standard plus \s-1GNU\s0 extensions. This is the default..if n .Ip "\f(CW""""gnu99""""\fR" 4.el .Ip "\f(CWgnu99\fR" 4.IX Item "gnu99".PD 0.if n .Ip "\f(CW""""gnu9x""""\fR" 4.el .Ip "\f(CWgnu9x\fR" 4.IX Item "gnu9x".PDThe 1999 C standard plus \s-1GNU\s0 extensions..RE.RS 4.RE.Ip "\fB\-I-\fR" 4.IX Item "-I-"Split the include path. Any directories specified with \fB\-I\fRoptions before \fB\-I-\fR are searched only for headers requested with\&\f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR; they are not searched for\&\f(CW\*(C`#include\ <\f(CIfile\f(CW>\*(C'\fR. If additional directories arespecified with \fB\-I\fR options after the \fB\-I-\fR, thosedirectories are searched for all \fB#include\fR directives..SpIn addition, \fB\-I-\fR inhibits the use of the directory of the currentfile directory as the first search directory for \f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR..Ip "\fB\-nostdinc\fR" 4.IX Item "-nostdinc"Do not search the standard system directories for header files.Only the directories you have specified with \fB\-I\fR options(and the directory of the current file, if appropriate) are searched..Ip "\fB\-nostdinc++\fR" 4.IX Item "-nostdinc++"Do not search for header files in the \*(C+\-specific standard directories,but do still search the other standard directories. (This option isused when building the \*(C+ library.).Ip "\fB\-include\fR \fIfile\fR" 4.IX Item "-include file"Process \fIfile\fR as if \f(CW\*(C`#include "file"\*(C'\fR appeared as the firstline of the primary source file. However, the first directory searchedfor \fIfile\fR is the preprocessor's working directory \fIinstead of\fRthe directory containing the main source file. If not found there, itis searched for in the remainder of the \f(CW\*(C`#include "..."\*(C'\fR searchchain as normal..SpIf multiple \fB\-include\fR options are given, the files are includedin the order they appear on the command line..Ip "\fB\-imacros\fR \fIfile\fR" 4.IX Item "-imacros file"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?