| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.1 Option Summary
Here is a summary of all the options, grouped by type. Explanations are in the following sections.
- Overall Options
See section Options Controlling the Kind of Output. @gccoptlist{-c -S -E -o file -combine -pipe -pass-exit-codes @gol -x language -v -### –help –target-help –version}
- C Language Options
See section Options Controlling C Dialect. @gccoptlist{-ansi -std=standard -aux-info filename @gol -fno-asm -fno-builtin -fno-builtin-function @gol -fhosted -ffreestanding -fms-extensions @gol -trigraphs -no-integrated-cpp -traditional -traditional-cpp @gol -fallow-single-precision -fcond-mismatch @gol -fsigned-bitfields -fsigned-char @gol -funsigned-bitfields -funsigned-char}
- C++ Language Options
See section Options Controlling C++ Dialect. @gccoptlist{-fabi-version=n -fno-access-control -fcheck-new @gol -fconserve-space -fno-const-strings @gol -fno-elide-constructors @gol -fno-enforce-eh-specs @gol -ffor-scope -fno-for-scope -fno-gnu-keywords @gol -fno-implicit-templates @gol -fno-implicit-inline-templates @gol -fno-implement-inlines -fms-extensions @gol -fno-nonansi-builtins -fno-operator-names @gol -fno-optional-diags -fpermissive @gol -frepo -fno-rtti -fstats -ftemplate-depth-n @gol -fno-threadsafe-statics -fuse-cxa-atexit -fno-weak -nostdinc++ @gol -fno-default-inline -fvisibility-inlines-hidden @gol -Wabi -Wctor-dtor-privacy @gol -Wnon-virtual-dtor -Wreorder @gol -Weffc++ -Wno-deprecated -Wstrict-null-sentinel @gol -Wno-non-template-friend -Wold-style-cast @gol -Woverloaded-virtual -Wno-pmf-conversions @gol -Wsign-promo}
- Objective-C and Objective-C++ Language Options
See section Options Controlling Objective-C and Objective-C++ Dialects. @gccoptlist{ -fconstant-string-class=class-name @gol -fgnu-runtime -fnext-runtime @gol -fno-nil-receivers @gol -fobjc-exceptions @gol -freplace-objc-classes @gol -fzero-link @gol -gen-decls @gol -Wno-protocol -Wselector -Wundeclared-selector}
- Language Independent Options
See section Options to Control Diagnostic Messages Formatting. @gccoptlist{-fmessage-length=n @gol -fdiagnostics-show-location=[once|every-line]}
- Warning Options
See section Options to Request or Suppress Warnings. @gccoptlist{-fsyntax-only -pedantic -pedantic-errors @gol -w -Wextra -Wall -Waggregate-return @gol -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment @gol -Wconversion -Wno-deprecated-declarations @gol -Wdisabled-optimization -Wno-div-by-zero -Wno-endif-labels @gol -Werror -Werror-implicit-function-declaration @gol -Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol -Wno-format-extra-args -Wformat-nonliteral @gol -Wformat-security -Wformat-y2k @gol -Wimplicit -Wimplicit-function-declaration -Wimplicit-int @gol -Wimport -Wno-import -Winit-self -Winline @gol -Wno-invalid-offsetof -Winvalid-pch @gol -Wlarger-than-len -Wlong-long @gol -Wmain -Wmissing-braces -Wmissing-field-initializers @gol -Wmissing-format-attribute -Wmissing-include-dirs @gol -Wmissing-noreturn @gol -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol -Wparentheses -Wpointer-arith -Wredundant-decls @gol -Wreturn-type -Wsequence-point -Wshadow @gol -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 @gol -Wswitch -Wswitch-default -Wswitch-enum @gol -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol -Wunknown-pragmas -Wunreachable-code @gol -Wunused -Wunused-function -Wunused-label -Wunused-parameter @gol -Wunused-value -Wunused-variable -Wwrite-strings @gol -Wvariadic-macros}
- C-only Warning Options
@gccoptlist{-Wbad-function-cast -Wmissing-declarations @gol -Wmissing-prototypes -Wnested-externs -Wold-style-definition @gol -Wstrict-prototypes -Wtraditional @gol -Wdeclaration-after-statement -Wno-pointer-sign}
- Debugging Options
See section Options for Debugging Your Program or GCC. @gccoptlist{-dletters -dumpspecs -dumpmachine -dumpversion @gol -fdump-unnumbered -fdump-translation-unit[-n] @gol -fdump-class-hierarchy[-n] @gol -fdump-ipa-all -fdump-ipa-cgraph @gol -fdump-tree-all @gol -fdump-tree-original[-n] @gol -fdump-tree-optimized[-n] @gol -fdump-tree-inlined[-n] @gol -fdump-tree-cfg -fdump-tree-vcg -fdump-tree-alias @gol -fdump-tree-ch @gol -fdump-tree-ssa[-n] -fdump-tree-pre[-n] @gol -fdump-tree-ccp[-n] -fdump-tree-dce[-n] @gol -fdump-tree-gimple[-raw] -fdump-tree-mudflap[-n] @gol -fdump-tree-dom[-n] @gol -fdump-tree-dse[-n] @gol -fdump-tree-phiopt[-n] @gol -fdump-tree-forwprop[-n] @gol -fdump-tree-copyrename[-n] @gol -fdump-tree-nrv -fdump-tree-vect @gol -fdump-tree-sra[-n] @gol -fdump-tree-fre[-n] @gol -ftree-vectorizer-verbose=n @gol -feliminate-dwarf2-dups -feliminate-unused-debug-types @gol -feliminate-unused-debug-symbols -fmem-report -fprofile-arcs -ftree-based-profiling @gol -frandom-seed=string -fsched-verbose=n @gol -ftest-coverage -ftime-report -fvar-tracking @gol -g -glevel -gcoff -gdwarf-2 @gol -ggdb -gstabs -gstabs+ -gvms -gxcoff -gxcoff+ @gol -p -pg -print-file-name=library -print-libgcc-file-name @gol -print-multi-directory -print-multi-lib @gol -print-prog-name=program -print-search-dirs -Q @gol -save-temps -time}
- Optimization Options
See section Options that Control Optimization. @gccoptlist{-falign-functions=n -falign-jumps=n @gol -falign-labels=n -falign-loops=n @gol -fbounds-check -fmudflap -fmudflapth -fmudflapir @gol -fbranch-probabilities -fprofile-values -fvpt -fbranch-target-load-optimize @gol -fbranch-target-load-optimize2 -fbtr-bb-exclusive @gol -fcaller-saves -fcprop-registers -fcse-follow-jumps @gol -fcse-skip-blocks -fcx-limited-range -fdata-sections @gol -fdelayed-branch -fdelete-null-pointer-checks @gol -fexpensive-optimizations -ffast-math -ffloat-store @gol -fforce-addr -fforce-mem -ffunction-sections @gol -fgcse -fgcse-lm -fgcse-sm -fgcse-las -fgcse-after-reload @gol -floop-optimize -fcrossjumping -fif-conversion -fif-conversion2 @gol -finline-functions -finline-limit=n -fkeep-inline-functions @gol -fkeep-static-consts -fmerge-constants -fmerge-all-constants @gol -fmodulo-sched -fno-branch-count-reg @gol -fno-default-inline -fno-defer-pop -floop-optimize2 -fmove-loop-invariants @gol -fno-function-cse -fno-guess-branch-probability @gol -fno-inline -fno-math-errno -fno-peephole -fno-peephole2 @gol -funsafe-math-optimizations -ffinite-math-only @gol -fno-trapping-math -fno-zero-initialized-in-bss @gol -fomit-frame-pointer -foptimize-register-move @gol -foptimize-sibling-calls -fprefetch-loop-arrays @gol -fprofile-generate -fprofile-use @gol -fregmove -frename-registers @gol -freorder-blocks -freorder-blocks-and-partition -freorder-functions @gol -frerun-cse-after-loop -frerun-loop-opt @gol -frounding-math -fschedule-insns -fschedule-insns2 @gol -fno-sched-interblock -fno-sched-spec -fsched-spec-load @gol -fsched-spec-load-dangerous @gol -fsched-stalled-insns=n -sched-stalled-insns-dep=n @gol -fsched2-use-superblocks @gol -fsched2-use-traces -freschedule-modulo-scheduled-loops @gol -fsignaling-nans -fsingle-precision-constant -fspeculative-prefetching @gol -fstrength-reduce -fstrict-aliasing -ftracer -fthread-jumps @gol -funroll-all-loops -funroll-loops -fpeel-loops @gol -fsplit-ivs-in-unroller -funswitch-loops @gol -fvariable-expansion-in-unroller @gol -ftree-pre -ftree-ccp -ftree-dce -ftree-loop-optimize @gol -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fivopts @gol -ftree-dominator-opts -ftree-dse -ftree-copyrename @gol -ftree-ch -ftree-sra -ftree-ter -ftree-lrs -ftree-fre -ftree-vectorize @gol -fweb @gol –param name=value -O -O0 -O1 -O2 -O3 -Os}
- Preprocessor Options
See section Options Controlling the Preprocessor. @gccoptlist{-Aquestion=answer @gol -A-question[=answer] @gol -C -dD -dI -dM -dN @gol -Dmacro[=defn] -E -H @gol -idirafter dir @gol -include file -imacros file @gol -iprefix file -iwithprefix dir @gol -iwithprefixbefore dir -isystem dir @gol -M -MM -MF -MG -MP -MQ -MT -nostdinc @gol -P -fworking-directory -remap @gol -trigraphs -undef -Umacro -Wp,option @gol -Xpreprocessor option}
- Assembler Option
See section Passing Options to the Assembler. @gccoptlist{-Wa,option -Xassembler option}
- Linker Options
See section Options for Linking. @gccoptlist{object-file-name -llibrary @gol -nostartfiles -nodefaultlibs -nostdlib -pie @gol -s -static -static-libgcc -shared -shared-libgcc -symbolic @gol -Wl,option -Xlinker option @gol -u symbol}
- Directory Options
See section Options for Directory Search. @gccoptlist{-Bprefix -Idir -iquotedir -Ldir -specs=file -I-}
- Target Options
See section Specifying Target Machine and Compiler Version. @gccoptlist{-V version -b machine}
- Machine Dependent Options
See section Hardware Models and Configurations.
ARC Options @gccoptlist{-EB -EL @gol -mmangle-cpu -mcpu=cpu -mtext=text-section @gol -mdata=data-section -mrodata=readonly-data-section}
ARM Options @gccoptlist{-mapcs-frame -mno-apcs-frame @gol -mabi=name @gol -mapcs-stack-check -mno-apcs-stack-check @gol -mapcs-float -mno-apcs-float @gol -mapcs-reentrant -mno-apcs-reentrant @gol -msched-prolog -mno-sched-prolog @gol -mlittle-endian -mbig-endian -mwords-little-endian @gol -mfloat-abi=name -msoft-float -mhard-float -mfpe @gol -mthumb-interwork -mno-thumb-interwork @gol -mcpu=name -march=name -mfpu=name @gol -mstructure-size-boundary=n @gol -mabort-on-noreturn @gol -mlong-calls -mno-long-calls @gol -msingle-pic-base -mno-single-pic-base @gol -mpic-register=reg @gol -mnop-fun-dllimport @gol -mcirrus-fix-invalid-insns -mno-cirrus-fix-invalid-insns @gol -mpoke-function-name @gol -mthumb -marm @gol -mtpcs-frame -mtpcs-leaf-frame @gol -mcaller-super-interworking -mcallee-super-interworking}
AVR Options @gccoptlist{-mmcu=mcu -msize -minit-stack=n -mno-interrupts @gol -mcall-prologues -mno-tablejump -mtiny-stack -mint8}
Blackfin Options @gccoptlist{-momit-leaf-frame-pointer -mno-omit-leaf-frame-pointer -mcsync @gol -mno-csync -mlow-64k -mno-low64k -mid-shared-library @gol -mno-id-shared-library -mshared-library-id=n @gol}
CRIS Options @gccoptlist{-mcpu=cpu -march=cpu -mtune=cpu @gol -mmax-stack-frame=n -melinux-stacksize=n @gol -metrax4 -metrax100 -mpdebug -mcc-init -mno-side-effects @gol -mstack-align -mdata-align -mconst-align @gol -m32-bit -m16-bit -m8-bit -mno-prologue-epilogue -mno-gotplt @gol -melf -maout -melinux -mlinux -sim -sim2 @gol -mmul-bug-workaround -mno-mul-bug-workaround}
Darwin Options @gccoptlist{-all_load -allowable_client -arch -arch_errors_fatal @gol -arch_only -bind_at_load -bundle -bundle_loader @gol -client_name -compatibility_version -current_version @gol -dead_strip @gol -dependency-file -dylib_file -dylinker_install_name @gol -dynamic -dynamiclib -exported_symbols_list @gol -filelist -flat_namespace -force_cpusubtype_ALL @gol -force_flat_namespace -headerpad_max_install_names @gol -image_base -init -install_name -keep_private_externs @gol -multi_module -multiply_defined -multiply_defined_unused @gol -noall_load -no_dead_strip_inits_and_terms @gol -nofixprebinding -nomultidefs -noprebind -noseglinkedit @gol -pagezero_size -prebind -prebind_all_twolevel_modules @gol -private_bundle -read_only_relocs -sectalign @gol -sectobjectsymbols -whyload -seg1addr @gol -sectcreate -sectobjectsymbols -sectorder @gol -segaddr -segs_read_only_addr -segs_read_write_addr @gol -seg_addr_table -seg_addr_table_filename -seglinkedit @gol -segprot -segs_read_only_addr -segs_read_write_addr @gol -single_module -static -sub_library -sub_umbrella @gol -twolevel_namespace -umbrella -undefined @gol -unexported_symbols_list -weak_reference_mismatches @gol -whatsloaded -F -gused -gfull -mone-byte-bool}
DEC Alpha Options @gccoptlist{-mno-fp-regs -msoft-float -malpha-as -mgas @gol -mieee -mieee-with-inexact -mieee-conformant @gol -mfp-trap-mode=mode -mfp-rounding-mode=mode @gol -mtrap-precision=mode -mbuild-constants @gol -mcpu=cpu-type -mtune=cpu-type @gol -mbwx -mmax -mfix -mcix @gol -mfloat-vax -mfloat-ieee @gol -mexplicit-relocs -msmall-data -mlarge-data @gol -msmall-text -mlarge-text @gol -mmemory-latency=time}
DEC Alpha/VMS Options @gccoptlist{-mvms-return-codes}
FRV Options @gccoptlist{-mgpr-32 -mgpr-64 -mfpr-32 -mfpr-64 @gol -mhard-float -msoft-float @gol -malloc-cc -mfixed-cc -mdword -mno-dword @gol -mdouble -mno-double @gol -mmedia -mno-media -mmuladd -mno-muladd @gol -mfdpic -minline-plt -mgprel-ro -multilib-library-pic @gol -mlinked-fp -mlong-calls -malign-labels @gol -mlibrary-pic -macc-4 -macc-8 @gol -mpack -mno-pack -mno-eflags -mcond-move -mno-cond-move @gol -mscc -mno-scc -mcond-exec -mno-cond-exec @gol -mvliw-branch -mno-vliw-branch @gol -mmulti-cond-exec -mno-multi-cond-exec -mnested-cond-exec @gol -mno-nested-cond-exec -mtomcat-stats @gol -mTLS -mtls @gol -mcpu=cpu}
H8/300 Options @gccoptlist{-mrelax -mh -ms -mn -mint32 -malign-300}
HPPA Options @gccoptlist{-march=architecture-type @gol -mbig-switch -mdisable-fpregs -mdisable-indexing @gol -mfast-indirect-calls -mgas -mgnu-ld -mhp-ld @gol -mfixed-range=register-range @gol -mjump-in-delay -mlinker-opt -mlong-calls @gol -mlong-load-store -mno-big-switch -mno-disable-fpregs @gol -mno-disable-indexing -mno-fast-indirect-calls -mno-gas @gol -mno-jump-in-delay -mno-long-load-store @gol -mno-portable-runtime -mno-soft-float @gol -mno-space-regs -msoft-float -mpa-risc-1-0 @gol -mpa-risc-1-1 -mpa-risc-2-0 -mportable-runtime @gol -mschedule=cpu-type -mspace-regs -msio -mwsio @gol -munix=unix-std -nolibdld -static -threads}
i386 and x86-64 Options @gccoptlist{-mtune=cpu-type -march=cpu-type @gol -mfpmath=unit @gol -masm=dialect -mno-fancy-math-387 @gol -mno-fp-ret-in-387 -msoft-float -msvr3-shlib @gol -mno-wide-multiply -mrtd -malign-double @gol -mpreferred-stack-boundary=num @gol -mmmx -msse -msse2 -msse3 -m3dnow @gol -mthreads -mno-align-stringops -minline-all-stringops @gol -mpush-args -maccumulate-outgoing-args -m128bit-long-double @gol -m96bit-long-double -mregparm=num -momit-leaf-frame-pointer @gol -mno-red-zone -mno-tls-direct-seg-refs @gol -mcmodel=code-model @gol -m32 -m64}
IA-64 Options @gccoptlist{-mbig-endian -mlittle-endian -mgnu-as -mgnu-ld -mno-pic @gol -mvolatile-asm-stop -mregister-names -mno-sdata @gol -mconstant-gp -mauto-pic -minline-float-divide-min-latency @gol -minline-float-divide-max-throughput @gol -minline-int-divide-min-latency @gol -minline-int-divide-max-throughput @gol -minline-sqrt-min-latency -minline-sqrt-max-throughput @gol -mno-dwarf2-asm -mearly-stop-bits @gol -mfixed-range=register-range -mtls-size=tls-size @gol -mtune=cpu-type -mt -pthread -milp32 -mlp64}
M32R/D Options @gccoptlist{-m32r2 -m32rx -m32r @gol -mdebug @gol -malign-loops -mno-align-loops @gol -missue-rate=number @gol -mbranch-cost=number @gol -mmodel=code-size-model-type @gol -msdata=sdata-type @gol -mno-flush-func -mflush-func=name @gol -mno-flush-trap -mflush-trap=number @gol -G num}
M680x0 Options @gccoptlist{-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040 @gol -m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020 @gol -mnobitfield -mrtd -mshort -msoft-float -mpcrel @gol -malign-int -mstrict-align -msep-data -mno-sep-data @gol -mshared-library-id=n -mid-shared-library -mno-id-shared-library}
M68hc1x Options @gccoptlist{-m6811 -m6812 -m68hc11 -m68hc12 -m68hcs12 @gol -mauto-incdec -minmax -mlong-calls -mshort @gol -msoft-reg-count=count}
MCore Options @gccoptlist{-mhardlit -mno-hardlit -mdiv -mno-div -mrelax-immediates @gol -mno-relax-immediates -mwide-bitfields -mno-wide-bitfields @gol -m4byte-functions -mno-4byte-functions -mcallgraph-data @gol -mno-callgraph-data -mslow-bytes -mno-slow-bytes -mno-lsim @gol -mlittle-endian -mbig-endian -m210 -m340 -mstack-increment}
MIPS Options @gccoptlist{-EL -EB -march=arch -mtune=arch @gol -mips1 -mips2 -mips3 -mips4 -mips32 -mips32r2 -mips64 @gol -mips16 -mno-mips16 -mabi=abi -mabicalls -mno-abicalls @gol -mxgot -mno-xgot -mgp32 -mgp64 -mfp32 -mfp64 @gol -mhard-float -msoft-float -msingle-float -mdouble-float @gol -mpaired-single -mips3d @gol -mint64 -mlong64 -mlong32 -msym32 -mno-sym32 @gol -Gnum -membedded-data -mno-embedded-data @gol -muninit-const-in-rodata -mno-uninit-const-in-rodata @gol -msplit-addresses -mno-split-addresses @gol -mexplicit-relocs -mno-explicit-relocs @gol -mcheck-zero-division -mno-check-zero-division @gol -mdivide-traps -mdivide-breaks @gol -mmemcpy -mno-memcpy -mlong-calls -mno-long-calls @gol -mmad -mno-mad -mfused-madd -mno-fused-madd -nocpp @gol -mfix-r4000 -mno-fix-r4000 -mfix-r4400 -mno-fix-r4400 @gol -mfix-vr4120 -mno-fix-vr4120 -mfix-vr4130 @gol -mfix-sb1 -mno-fix-sb1 @gol -mflush-func=func -mno-flush-func @gol -mbranch-likely -mno-branch-likely @gol -mfp-exceptions -mno-fp-exceptions @gol -mvr4130-align -mno-vr4130-align}
MMIX Options @gccoptlist{-mlibfuncs -mno-libfuncs -mepsilon -mno-epsilon -mabi=gnu @gol -mabi=mmixware -mzero-extend -mknuthdiv -mtoplevel-symbols @gol -melf -mbranch-predict -mno-branch-predict -mbase-addresses @gol -mno-base-addresses -msingle-exit -mno-single-exit}
MN10300 Options @gccoptlist{-mmult-bug -mno-mult-bug @gol -mam33 -mno-am33 @gol -mam33-2 -mno-am33-2 @gol -mno-crt0 -mrelax}
NS32K Options @gccoptlist{-m32032 -m32332 -m32532 -m32081 -m32381 @gol -mmult-add -mnomult-add -msoft-float -mrtd -mnortd @gol -mregparam -mnoregparam -msb -mnosb @gol -mbitfield -mnobitfield -mhimem -mnohimem}
PDP-11 Options @gccoptlist{-mfpu -msoft-float -mac0 -mno-ac0 -m40 -m45 -m10 @gol -mbcopy -mbcopy-builtin -mint32 -mno-int16 @gol -mint16 -mno-int32 -mfloat32 -mno-float64 @gol -mfloat64 -mno-float32 -mabshi -mno-abshi @gol -mbranch-expensive -mbranch-cheap @gol -msplit -mno-split -munix-asm -mdec-asm}
PowerPC Options See RS/6000 and PowerPC Options.
RS/6000 and PowerPC Options @gccoptlist{-mcpu=cpu-type @gol -mtune=cpu-type @gol -mpower -mno-power -mpower2 -mno-power2 @gol -mpowerpc -mpowerpc64 -mno-powerpc @gol -maltivec -mno-altivec @gol -mpowerpc-gpopt -mno-powerpc-gpopt @gol -mpowerpc-gfxopt -mno-powerpc-gfxopt @gol -mnew-mnemonics -mold-mnemonics @gol -mfull-toc -mminimal-toc -mno-fp-in-toc -mno-sum-in-toc @gol -m64 -m32 -mxl-compat -mno-xl-compat -mpe @gol -malign-power -malign-natural @gol -msoft-float -mhard-float -mmultiple -mno-multiple @gol -mstring -mno-string -mupdate -mno-update @gol -mfused-madd -mno-fused-madd -mbit-align -mno-bit-align @gol -mstrict-align -mno-strict-align -mrelocatable @gol -mno-relocatable -mrelocatable-lib -mno-relocatable-lib @gol -mtoc -mno-toc -mlittle -mlittle-endian -mbig -mbig-endian @gol -mdynamic-no-pic @gol -mprioritize-restricted-insns=priority @gol -msched-costly-dep=dependence_type @gol -minsert-sched-nops=scheme @gol -mcall-sysv -mcall-netbsd @gol -maix-struct-return -msvr4-struct-return @gol -mabi=altivec -mabi=no-altivec @gol -mabi=spe -mabi=no-spe @gol -misel=yes -misel=no @gol -mspe=yes -mspe=no @gol -mfloat-gprs=yes -mfloat-gprs=no -mfloat-gprs=single -mfloat-gprs=double @gol -mprototype -mno-prototype @gol -msim -mmvme -mads -myellowknife -memb -msdata @gol -msdata=opt -mvxworks -mwindiss -G num -pthread}
S/390 and zSeries Options @gccoptlist{-mtune=cpu-type -march=cpu-type @gol -mhard-float -msoft-float -mbackchain -mno-backchain @gol -mpacked-stack -mno-packed-stack @gol -msmall-exec -mno-small-exec -mmvcle -mno-mvcle @gol -m64 -m31 -mdebug -mno-debug -mesa -mzarch @gol -mtpf-trace -mno-tpf-trace -mfused-madd -mno-fused-madd @gol -mwarn-framesize -mwarn-dynamicstack -mstack-size -mstack-guard}
SH Options @gccoptlist{-m1 -m2 -m2e -m3 -m3e @gol -m4-nofpu -m4-single-only -m4-single -m4 @gol -m4a-nofpu -m4a-single-only -m4a-single -m4a -m4al @gol -m5-64media -m5-64media-nofpu @gol -m5-32media -m5-32media-nofpu @gol -m5-compact -m5-compact-nofpu @gol -mb -ml -mdalign -mrelax @gol -mbigtable -mfmovd -mhitachi -mrenesas -mno-renesas -mnomacsave @gol -mieee -misize -mpadstruct -mspace @gol -mprefergot -musermode}
SPARC Options @gccoptlist{-mcpu=cpu-type @gol -mtune=cpu-type @gol -mcmodel=code-model @gol -m32 -m64 -mapp-regs -mno-app-regs @gol -mfaster-structs -mno-faster-structs @gol -mfpu -mno-fpu -mhard-float -msoft-float @gol -mhard-quad-float -msoft-quad-float @gol -mimpure-text -mno-impure-text -mlittle-endian @gol -mstack-bias -mno-stack-bias @gol -munaligned-doubles -mno-unaligned-doubles @gol -mv8plus -mno-v8plus -mvis -mno-vis -threads -pthreads}
System V Options @gccoptlist{-Qy -Qn -YP,paths -Ym,dir}
TMS320C3x/C4x Options @gccoptlist{-mcpu=cpu -mbig -msmall -mregparm -mmemparm @gol -mfast-fix -mmpyi -mbk -mti -mdp-isr-reload @gol -mrpts=count -mrptb -mdb -mloop-unsigned @gol -mparallel-insns -mparallel-mpy -mpreserve-float}
V850 Options @gccoptlist{-mlong-calls -mno-long-calls -mep -mno-ep @gol -mprolog-function -mno-prolog-function -mspace @gol -mtda=n -msda=n -mzda=n @gol -mapp-regs -mno-app-regs @gol -mdisable-callt -mno-disable-callt @gol -mv850e1 @gol -mv850e @gol -mv850 -mbig-switch}
VAX Options @gccoptlist{-mg -mgnu -munix}
x86-64 Options See i386 and x86-64 Options.
Xstormy16 Options @gccoptlist{-msim}
Xtensa Options @gccoptlist{-mconst16 -mno-const16 @gol -mfused-madd -mno-fused-madd @gol -mtext-section-literals -mno-text-section-literals @gol -mtarget-align -mno-target-align @gol -mlongcalls -mno-longcalls}
zSeries Options See S/390 and zSeries Options.
- Code Generation Options
See section Options for Code Generation Conventions. @gccoptlist{-fcall-saved-reg -fcall-used-reg @gol -ffixed-reg -fexceptions @gol -fnon-call-exceptions -funwind-tables @gol -fasynchronous-unwind-tables @gol -finhibit-size-directive -finstrument-functions @gol -fno-common -fno-ident @gol -fpcc-struct-return -fpic -fPIC -fpie -fPIE @gol -freg-struct-return -fshared-data -fshort-enums @gol -fshort-double -fshort-wchar @gol -fverbose-asm -fpack-struct[=n] -fstack-check @gol -fstack-limit-register=reg -fstack-limit-symbol=sym @gol -fargument-alias -fargument-noalias @gol -fargument-noalias-global -fleading-underscore @gol -ftls-model=model @gol -ftrapv -fwrapv -fbounds-check @gol -fvisibility}
| 3.2 Options Controlling the Kind of Output | Controlling the kind of output: an executable, object files, assembler files, or preprocessed source. | |
| 3.4 Options Controlling C Dialect | Controlling the variant of C language compiled. | |
| 3.5 Options Controlling C++ Dialect | Variations on C++. | |
| 3.6 Options Controlling Objective-C and Objective-C++ Dialects | Variations on Objective-C and Objective-C++. | |
| 3.7 Options to Control Diagnostic Messages Formatting | Controlling how diagnostics should be formatted. | |
| 3.8 Options to Request or Suppress Warnings | How picky should the compiler be? | |
| 3.9 Options for Debugging Your Program or GCC | Symbol tables, measurements, and debugging dumps. | |
| 3.10 Options That Control Optimization | How much optimization? | |
| 3.11 Options Controlling the Preprocessor | Controlling header files and macro definitions. Also, getting dependency information for Make. | |
| 3.12 Passing Options to the Assembler | Passing options to the assembler. | |
| 3.13 Options for Linking | Specifying libraries and so on. | |
| 3.14 Options for Directory Search | Where to find header files and libraries. Where to find the compiler executable files. | |
| 3.15 Specifying subprocesses and the switches to pass to them | How to pass switches to sub-processes. | |
| 3.16 Specifying Target Machine and Compiler Version | Running a cross-compiler, or an old version of GCC. |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |