




已阅读5页,还剩18页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
gcc section: gnu tools (1)gcc section: gnu tools (1) updated: 2003/12/05 index return to main contents name gcc,g+-gnucc+(egcs-1.1.2) (synopsis) gccoption|filename . g+option|filename . (warning) gnu c,. ,.,info, info. ,.,infoman,gnu cc. gnuman,. ,infogccusing and porting gnu cc (for version 2.0) (gnu cc 2.0) .texinfo gcc.texinfo. (description) cc+.: (preprocessing),(compilation),(assembly)(linking). ,趨: gcc (.i)c,趨c. g+ (.i)c+,趨c+. : .c c;, .c c+;, .cc c+;, .cxx c+;, .m objective-c;, .i c;, .ii c+;, .s ; .s ;, .h ; (linker).: .o (object file) .a 鵵(archive file) -c, -s,-e(), .,.o, -l,( .o.a). (options) : -dr-d -r . -f-w: -fname -fno-name (-wname-wno-name). . ,. (overall option) -c -s -e -o file -pipe -v -x language (language option) -ansi -fall-virtual -fcond-mismatch -fdollars-in-identifiers -fenum-int-equiv -fexternal-templates -fno-asm -fn(warning option) -fsyntax-only -pedantic -pedantic-errors -w -w -wall -waggregate-return -wcast-align -wcast-qual -wchar-subscript -wcomment -wconversion -wenum-clash -werror -wformat -wid-clash-len -wimplicit -wimplicit-int -wimplicit-function-declaration -winline -wlong-long -wmain -wmissing-prototypes -wmissing-declarations -wnested-externs -wno-import -wparentheses -wpointer-arith -wredundant-decls -wreturn-type -wshadow -wstrict-prototypes -wswitch -wtemplate-debugging -wtraditional -wtrigraphs -wuninitialized -wunused -wwrite-strings (debugging option) -a -dletters -fpretend-float -g -glevel -gcoff -gxcoff -gxcoff+ -gdwarf -gdwarf+ -gstabs -gstabs+ -ggdb -p -pg -save-temps -print-file-name=library -print-libgcc-file-name -print-prog-name=program (optimization option) -fcaller-saves -fcse-follow-jumps -fcse-skip-blocks -fdelayed-branch -felide-constructors -fexpensive-optimizations -ffast-math -ffloat-store -fforce-addr -fforce-mem -finline-functions -fkeep-inline-functions -fmemoize-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 -o3 (preprocessor option) -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 (assembler option) -wa,option (linker option) -llibrary -nostartfiles -nostdlib -static -shared -symbolic -xlinker option -wl,option -u symbol (directory option) -bprefix -idir -i- -ldir (target option) -b machine -v version (configuration dependent option) m680x0 -m68000 -m68020 -m68020-40 -m68030 -m68040 -m68881 -mbitfield -mc68000 -mc68020 -mfpa -mnobitfield -mrtd -mshort -msoft-float vax -mg -mgnu -munix sparc -mepilogue -mfpu -mhard-float -mno-fpu -mno-epilogue -msoft-float -msparclite -mv8 -msupersparc -mcypress convex -margcount -mc1 -mc2 -mnoargcount amd29k -m29000 -m29050 -mbw -mdw -mkernel-registers -mlarge -mnbw -mnodw -msmall -mstack-check -muser-registers m88k -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- rs6000 -mfp-in-toc -mno-fop-in-toc rt -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 mips -mcpu=cpu type -mips2 -mips3 -mint64 -mlong64 -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 i386 -m486 -mno-486 -msoft-float -mno-fp-ret-in-387 hppa -mpa-risc-1-0 -mpa-risc-1-1 -mkernel -mshared-libs -mno-shared-libs -mlong-calls -mdisable-fpregs -mdisable-indexing -mtrailing-colon i960 -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 dec alpha -mfp-regs -mno-fp-regs -mno-soft-float -msoft-float system v -g -qy -qn -yp,paths -ym,dir (code generation option) -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 (overall option) -x language language (). ,-x. languagec, objective-c, c-header, c+, cpp-output, assembler,assembler-with-cpp. -x none ,(-x). (,),-x() gcc,-c, -s,-egcc .,(, -x cpp-output -e)gcc. -c ,. , gcc.o滻.c, .i, .s,.-o. gcc-c(). -s ,.,. , gcc.o滻.c, .i, .-o. gcc. -e ,. gcc. -o file file.gcc, c. ,-o,. -o,:a.out, source.suffix source.o, source.s,c. -v ().,İ汾. -pipe ., . gnu. (language options) c “: -ansi ansic. gnu cansi c,asm, inline typeof,unixvax. ansi trigraph,$. -ansi, _asm_, _extension_, _inline_typeof_. ansi c, -ansi.,_unix_vax_, -ansi,. -ansiansi,-pedantic -ansi. -ansi,_strict_ansi_. ,ansi; . -fno-asm asm, inlinetypeof,. _asm_, _inline_typeof_. -ansi -fno-asm. -fno-builtin (built-in function)._exit, abort, abs, alloca, cos, exit, fabs, labs, memcmp, memcpy, sin, sqrt, strcmp, strcpy,strlen. -ansialloca_exit. -fhosted ;-fbuiltin,治main. -ffreestanding ;-fno-builtin,main. (:(hosted environment) -fno-strict-prototype ,int foo ();,c-. (c+).,fooc+. -trigraphs ansi c trigraphs. -ansi-trigraphs. -traditional c.gnu c,嵥, . :c+(c), -traditional, this.-fthis-is-variable. -traditional-cpp c., -traditional. -fdollars-in-identifiers (identifier)$(c+). -fno-dollars-in-identifiers$. (gnu c+ $,.) -fenum-int-equiv int(enumeration)(c+).gnu c+ enumint,. -fexternal-templates (template declaration)(c+),庯 (template function),., ,#pragma implementation ()#pragma interface (). -fexternal-templates,(template instantiation) .typedef, .,-fno-external-templates,. -fall-virtual 麯.(newdelete )麯. 麯.,麯; . -fcond-mismatch .void. -fthis-is-variable this(c+).洢c+, this.,this. ,-fthis-is-variable. -funsigned-char char,unsigned char. char.unsigned charsigned char . ,signed charunsigned char.char,(, ).,. charsigned charunsigned char, . -fsigned-char char,signed char. -fno-unsigned-char,the negative form of -funsigned-char., -fno-signed-char -funsigned-char. -fsigned-bitfields -funsigned-bitfields -fno-signed-bitfields -fno-unsigned-bitfields signedunsigned, (bitfield).,int, . ,-traditional,. -fwritable-strings 洢,.,. -traditional. ; . (preprocessor option) c,c . -e, gcc.-e ,. -include file ,file,file. -d-u-include file, .-include-imacros. -imacros file ,file,.file , -imacros filefile, .-imacrosfile,-d -u,.-include -imacros. -idirafter dir dir.(-i) ,. -iprefix prefix prefix-iwithprefix. -iwithprefix dir .prefixdir -nostdinc .-i(,). -nostdinc-i-,. -nostdinc+ c+,. (libg+ .) -undef . (). -e c.c,. -c .-e. -p #line.-e. -m -mg make,., make,(target),(dependency) #include.,-. ,c. -m-e. -mg,. -m. -mm -mg -m,漰,#include file“.#include . -md -m,.o滻 .d.-md-m. machmd.d,make . -mmd -md,漰,. -h , gcc. -aquestion(answer) ,#if #question(answer),(assert) questionanswer. -a-. -dmacro macro,1. -dmacro=defn macrodefn.-d -u. -umacro macro. -u-d, -include-imacros. -dm ().-e. -dd 崫,. -dn -dd,.#define name. (assembler option) -wa,option option (linker option) ,. ,. object-file-name a special recognized suffix, gcc. (,).gcc,. -llibrary library. ,liblibrary.a. . ,-l. -鵵(archive file).鵵 :鵵,., ,.-l, -llib.alibrary,. -lobjc -lobjective c. -nostartfiles ,. -nostdlib . -static (dynamic linking),. -shared ,. -symbolic ,.( -xlinker -z -xlinker defs). -xlinker option option., gnu cc. ,-xlinker,. ,-assert definitions,-xlinker -assert -xlinker definitions,-xlinker “-assert definitions“, ,. -wl,option option.option,. -u symbol symbol,. -u,. (dir,: -idir dir . -i- -i-i#include “file“;#include . -i-i-, #include. (-i.) , -i-()#include “file“.-i-. -i.,., . -i-, -i-nostdinc. -ldir -ldir. -bprefix ,. : cpp, cc1 (c+ cc1plus), asld.prefix ,machine/version/. ,-b()., -b,/usr/lib/gcc/ /usr/local/lib/gcc-lib/.,path . ,(run-time)li
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年智能AI在影像诊断中的智能辅助诊断平台构建报告
- 2025年数字化设计与仿真在模具制造中的三维打印技术应用报告
- 云南省楚雄州双柏县2021-2022学年五年级上学期期中学业质量检测科学试题(含答案)
- 福建省莆田八中2026届高二化学第一学期期中质量检测试题含解析
- 2025年营养师考试专项训练试卷:冲刺阶段营养师心理辅导技巧训练
- 2025年导游资格证考试冲刺试卷:旅游线路设计与营销策略
- 2025年公务员考试行测言语理解专项试卷:逻辑判断与推理高分解析
- 2025年高中生物教师资格证考试教育理论知识专项训练试卷
- 2025年心理咨询师考试全真模拟试卷 心理评估专项强化
- 江苏省扬州市蒋王中学2026届化学高二上期中学业水平测试试题含解析
- 迷你中长导管-
- 中电联理论试卷A(无答案)
- 钢质防火门安装施工方法
- 优化物理教学策略的思考(黄恕伯)
- GB/T 26358-2022旅游度假区等级划分
- GB/T 25146-2010工业设备化学清洗质量验收规范
- GB/T 14825-1993农药可湿性粉剂悬浮率测定方法
- GB/T 12008.7-2010塑料聚醚多元醇第7部分:黏度的测定
- 文化政策与法规(第一课)
- 最全最好的血液净化课件资料
- 寻找消失的滇缅路:松山战痕课件
评论
0/150
提交评论