cc(1) on Linux
The text 2ee20574aac2, as Debian 1.2 (Rex), Debian 1.1 (Buzz) shipped it.
GNU project C and C++ Compiler (v2.7)
Flags it lists
-
-A -
-B -
-C -
-D -
-E -
-G -
-H -
-I -
-I- -
-L -
-M -
-MD -
-MG -
-MM -
-MMD -
-O -
-O0 -
-O1 -
-O2 -
-O3 -
-P -
-Qn -
-Qy -
-S -
-U -
-V -
-W -
-Waggregate-return -
-Wall -
-Wcast-align -
-Wcast-qual -
-Wchar-subscripts -
-Wcomment -
-Wconversion -
-Wenum-clash -
-Werror -
-Wformat -
-Wid-clash-len -
-Wimplicit -
-Winline -
-Wmissing-declarations -
-Wmissing-prototypes -
-Wnested-externs -
-Wno-import -
-Woverloaded-virtual -
-Wparentheses -
-Wpointer-arith -
-Wredundant-decls -
-Wreturn-type -
-Wshadow -
-Wstrict-prototypes -
-Wswitch -
-Wtemplate-debugging -
-Wtraditional -
-Wtrigraphs -
-Wuninitialized -
-Wunused -
-Wwrite-strings -
-Xlinker -
-a -
-ansi -
-b -
-c -
-d -
-dD -
-dJ -
-dL -
-dM -
-dN -
-dR -
-dS -
-da -
-dc -
-dd -
-df -
-dg -
-dj -
-dk -
-dl -
-dm -
-dp -
-dr -
-ds -
-dt -
-dx -
-dy -
-fPIC -
-fall-virtual -
-fcall-saved-reg -
-fcall-used-reg -
-fcaller-saves -
-fcond-mismatch -
-fcse-follow-jumps -
-fcse-skip-blocks -
-fdelayed-branch -
-fdollars-in-identifiers -
-felide-constructors -
-fenum-int-equiv -
-fexpensive-optimizations -
-fexternal-templates -
-ffast-math -
-ffixed-reg -
-ffloat-store -
-fforce-addr -
-fforce-mem -
-finhibit-size-directive -
-finline-functions -
-fkeep-inline-functions -
-fmemoize-lookups -
-fno-asm -
-fno-builtin -
-fno-common -
-fno-default-inline -
-fno-defer-pop -
-fno-function-cse -
-fno-gnu-linker -
-fno-ident -
-fno-peephole -
-fno-signed-bitfields -
-fno-strict-prototype -
-fno-unsigned-bitfields -
-fnonnull-objects -
-fomit-frame-pointer -
-fpcc-struct-return -
-fpic -
-fpretend-float -
-freg-struct-return -
-frerun-cse-after-loop -
-fsave-memoized -
-fschedule-insns -
-fschedule-insns2 -
-fshared-data -
-fshort-double -
-fshort-enums -
-fsigned-bitfields -
-fsigned-char -
-fstrength-reduce -
-fsyntax-only -
-fthis-is-variable -
-fthread-jumps -
-funroll-all-loops -
-funroll-loops -
-funsigned-bitfields -
-funsigned-char -
-fverbose-asm -
-fvolatile -
-fvolatile-global -
-fwritable-strings -
-g -
-gcoff -
-gdwarf -
-gdwarf+ -
-ggdb -
-gstabs -
-gstabs+ -
-gxcoff -
-gxcoff+ -
-idirafter -
-imacros -
-include -
-iprefix -
-iwithprefix -
-l -
-lobjc -
-m -
-m29000 -
-m29050 -
-m68000 -
-m68020 -
-m68020-40 -
-m68030 -
-m68040 -
-m68881 -
-m88000 -
-m88100 -
-m88110 -
-margcount -
-masm-compat -
-mbitfield -
-mbw -
-mc1 -
-mc2 -
-mc68000 -
-mc68020 -
-mcall-lib-mul -
-mcheck-zero-division -
-mcode-align -
-mcomplex-addr -
-mcpu -
-mdisable-fpregs -
-mdisable-indexing -
-mdw -
-mepilogue -
-mfp-arg-in-fpregs -
-mfp-arg-in-gregs -
-mfp-reg -
-mfp32 -
-mfp64 -
-mfpa -
-mfull-fp-blocks -
-mg -
-mgas -
-mgnu -
-mgpopt -
-mhalf-pic -
-mhandle-large-shift -
-mhard-float -
-mhc-struct-return -
-mic-compat -
-mic2.0-compat -
-mic3.0-compat -
-midentify-revision -
-min-line-mul -
-mint64 -
-mintel-asm -
-mips2 -
-mips3 -
-mkernel -
-mkernel-registers -
-mlarge -
-mleaf-procedures -
-mlong-calls -
-mlong64 -
-mlonglong128 -
-mmemcpy -
-mminimum-fp-blocks -
-mmips-as -
-mmips-tfile -
-mnbw -
-mno-486 -
-mno-abicalls -
-mno-check-zero-division -
-mno-code-align -
-mno-complex-addr -
-mno-fp-in-toc -
-mno-fp-regs -
-mno-fp-ret-in-387 -
-mno-gpopt -
-mno-half-pic -
-mno-leaf-procedures -
-mno-memcpy -
-mno-mips-tfile -
-mno-ocs-debug-info -
-mno-ocs-frame-position -
-mno-optimize-arg-area -
-mno-rnames -
-mno-serialize-volatile -
-mno-shared-libs -
-mno-soft-float -
-mno-stats -
-mno-strict-align -
-mno-tail-call -
-mno-underscores -
-mnoargcount -
-mnobitfield -
-mnodw -
-mnohc-struct-return -
-mnumerics -
-mocs-debug-info -
-mocs-frame-position -
-mold-align -
-moptimize-arg-area -
-mpa-risc-1-0 -
-mpa-risc-1-1 -
-mrnames -
-mrtd -
-mshared-libs -
-mshort -
-mshort-data-num -
-msmall -
-msoft-float -
-msparclite -
-mstack-check -
-mstats -
-mstrict-align -
-msupersparc -
-msvr3 -
-mtail-call -
-mtrailing-colon -
-mtrap-large-shift -
-munix -
-muse-div-instruction -
-muser-registers -
-mv8 -
-mversion-03.00 -
-mwarn-passed-structs -
-nocpp -
-nostartfiles -
-nostdinc -
-nostdinc++ -
-nostdlib -
-o -
-p -
-pedantic -
-pedantic-errors -
-pg -
-pipe -
-print-file-name -
-print-libgcc-file-name -
-print-prog-name -
-save-temps -
-shared -
-static -
-symbolic -
-traditional -
-traditional-cpp -
-trigraphs -
-u -
-undef -
-v -
-w -
-x