home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / info / gcc.info-2 (.txt) < prev    next >
GNU Info File  |  1994-12-22  |  51KB  |  1,000 lines

  1. This is Info file gcc.info, produced by Makeinfo-1.55 from the input
  2. file gcc.texi.
  3.    This file documents the use and the internals of the GNU compiler.
  4.    Published by the Free Software Foundation 675 Massachusetts Avenue
  5. Cambridge, MA 02139 USA
  6.    Copyright (C) 1988, 1989, 1992, 1993, 1994 Free Software Foundation,
  7.    Permission is granted to make and distribute verbatim copies of this
  8. manual provided the copyright notice and this permission notice are
  9. preserved on all copies.
  10.    Permission is granted to copy and distribute modified versions of
  11. this manual under the conditions for verbatim copying, provided also
  12. that the sections entitled "GNU General Public License," "Funding for
  13. Free Software," and "Protect Your Freedom--Fight `Look And Feel'" are
  14. included exactly as in the original, and provided that the entire
  15. resulting derived work is distributed under the terms of a permission
  16. notice identical to this one.
  17.    Permission is granted to copy and distribute translations of this
  18. manual into another language, under the above conditions for modified
  19. versions, except that the sections entitled "GNU General Public
  20. License," "Funding for Free Software," and "Protect Your Freedom--Fight
  21. `Look And Feel'", and this permission notice, may be included in
  22. translations approved by the Free Software Foundation instead of in the
  23. original English.
  24. File: gcc.info,  Node: Option Summary,  Next: Overall Options,  Up: Invoking GCC
  25. Option Summary
  26. ==============
  27.    Here is a summary of all the options, grouped by type.  Explanations
  28. are in the following sections.
  29. *Overall Options*
  30.      *Note Options Controlling the Kind of Output: Overall Options.
  31.           -c  -S  -E  -o FILE  -pipe  -v  -x LANGUAGE
  32. *C Language Options*
  33.      *Note Options Controlling C Dialect: C Dialect Options.
  34.           -ansi  -fallow-single-precision -fcond-mismatch  -fno-asm
  35.           -fno-builtin  -fsigned-bitfields  -fsigned-char
  36.           -funsigned-bitfields  -funsigned-char  -fwritable-strings
  37.           -traditional  -traditional-cpp  -trigraphs
  38. *C++ Language Options*
  39.      *Note Options Controlling C++ Dialect: C++ Dialect Options.
  40.           -fall-virtual  -fdollars-in-identifiers  -felide-constructors
  41.           -fenum-int-equiv -fexternal-templates  -fhandle-signatures
  42.           -fmemoize-lookups  -fno-default-inline  -fno-strict-prototype
  43.           -fnonnull-objects  -fthis-is-variable  -nostdinc++
  44.           -traditional  +eN
  45. *Warning Options*
  46.      *Note Options to Request or Suppress Warnings: Warning Options.
  47.           -fsyntax-only  -pedantic  -pedantic-errors
  48.           -w  -W  -Wall  -Waggregate-return  -Wbad-function-cast
  49.           -Wcast-align -Wcast-qual  -Wchar-subscript  -Wcomment
  50.           -Wconversion -Wenum-clash  -Werror  -Wformat
  51.           -Wid-clash-LEN  -Wimplicit  -Wimport  -Winline
  52.           -Wlarger-than-LEN  -Wmissing-declarations
  53.           -Wmissing-prototypes  -Wnested-externs
  54.           -Wno-import  -Woverloaded-virtual -Wparentheses
  55.           -Wpointer-arith  -Wredundant-decls -Wreorder -Wreturn-type -Wshadow
  56.           -Wstrict-prototypes  -Wswitch  -Wsynth  -Wtemplate-debugging
  57.           -Wtraditional  -Wtrigraphs -Wuninitialized  -Wunused
  58.           -Wwrite-strings
  59. *Debugging Options*
  60.      *Note Options for Debugging Your Program or GCC: Debugging Options.
  61.           -a  -dLETTERS  -fpretend-float
  62.           -g  -gLEVEL -gcoff  -gdwarf  -gdwarf+
  63.           -ggdb  -gstabs  -gstabs+  -gxcoff  -gxcoff+
  64.           -p  -pg  -print-file-name=LIBRARY  -print-libgcc-file-name
  65.           -print-prog-name=PROGRAM  -save-temps
  66. *Optimization Options*
  67.      *Note Options that Control Optimization: Optimize Options.
  68.           -fcaller-saves  -fcse-follow-jumps  -fcse-skip-blocks
  69.           -fdelayed-branch   -fexpensive-optimizations
  70.           -ffast-math  -ffloat-store  -fforce-addr  -fforce-mem
  71.           -finline-functions  -fkeep-inline-functions
  72.           -fno-default-inline  -fno-defer-pop  -fno-function-cse
  73.           -fno-inline  -fno-peephole  -fomit-frame-pointer
  74.           -frerun-cse-after-loop  -fschedule-insns
  75.           -fschedule-insns2  -fstrength-reduce  -fthread-jumps
  76.           -funroll-all-loops  -funroll-loops
  77.           -O  -O0  -O1  -O2  -O3
  78. *Preprocessor Options*
  79.      *Note Options Controlling the Preprocessor: Preprocessor Options.
  80.           -AQUESTION(ANSWER)  -C  -dD  -dM  -dN
  81.           -DMACRO[=DEFN]  -E  -H
  82.           -idirafter DIR
  83.           -include FILE  -imacros FILE
  84.           -iprefix FILE  -iwithprefix DIR
  85.           -iwithprefixbefore DIR  -isystem DIR
  86.           -M  -MD  -MM  -MMD  -MG  -nostdinc  -P  -trigraphs
  87.           -undef  -UMACRO  -Wp,OPTION
  88. *Assembler Option*
  89.      *Note Passing Options to the Assembler: Assembler Options.
  90.           -Wa,OPTION
  91. *Linker Options*
  92.      *Note Options for Linking: Link Options.
  93.           OBJECT-FILE-NAME
  94.           -lLIBRARY  -nostartfiles  -nostdlib
  95.           -s  -static  -shared  -symbolic
  96.           -Wl,OPTION  -Xlinker OPTION
  97.           -u SYMBOL
  98. *Directory Options*
  99.      *Note Options for Directory Search: Directory Options.
  100.           -BPREFIX  -IDIR  -I-  -LDIR
  101. *Target Options*
  102.      *Note Target Options::.
  103.           -b MACHINE  -V VERSION
  104. *Machine Dependent Options*
  105.      *Note Hardware Models and Configurations: Submodel Options.
  106.           *M680x0 Options*
  107.           -m68000  -m68020  -m68020-40  -m68030  -m68040  -m68881
  108.           -mbitfield  -mc68000  -mc68020  -mfpa  -mnobitfield
  109.           -mrtd  -mshort  -msoft-float
  110.           
  111.           *VAX Options*
  112.           -mg  -mgnu  -munix
  113.           
  114.           *SPARC Options*
  115.           -mapp-regs  -mcypress  -mepilogue  -mflat  -mfpu  -mhard-float
  116.           -mhard-quad-float  -mno-app-regs  -mno-flat  -mno-fpu
  117.           -mno-epilogue  -mno-unaligned-doubles
  118.           -msoft-float  -msoft-quad-float
  119.           -msparclite  -msupersparc  -munaligned-doubles  -mv8
  120.           
  121.           SPARC V9 compilers support the following options
  122.           in addition to the above:
  123.           
  124.           -mmedlow  -mmedany
  125.           -mint32  -mint64  -mlong32  -mlong64
  126.           -mno-stack-bias  -mstack-bias
  127.           
  128.           *Convex Options*
  129.           -mc1  -mc2  -mc32  -mc34  -mc38
  130.           -margcount  -mnoargcount
  131.           -mlong32  -mlong64
  132.           -mvolatile-cache  -mvolatile-nocache
  133.           
  134.           *AMD29K Options*
  135.           -m29000  -m29050  -mbw  -mnbw  -mdw  -mndw
  136.           -mlarge  -mnormal  -msmall
  137.           -mkernel-registers  -mno-reuse-arg-regs
  138.           -mno-stack-check  -mno-storem-bug
  139.           -mreuse-arg-regs  -msoft-float  -mstack-check
  140.           -mstorem-bug  -muser-registers
  141.           
  142.           *ARM Options*
  143.           -mapcs -m2 -m3 -m6 -mbsd -mxopen -mno-symrename
  144.           
  145.           *M88K Options*
  146.           -m88000  -m88100  -m88110  -mbig-pic
  147.           -mcheck-zero-division  -mhandle-large-shift
  148.           -midentify-revision  -mno-check-zero-division
  149.           -mno-ocs-debug-info  -mno-ocs-frame-position
  150.           -mno-optimize-arg-area  -mno-serialize-volatile
  151.           -mno-underscores  -mocs-debug-info
  152.           -mocs-frame-position  -moptimize-arg-area
  153.           -mserialize-volatile  -mshort-data-NUM  -msvr3
  154.           -msvr4  -mtrap-large-shift  -muse-div-instruction
  155.           -mversion-03.00  -mwarn-passed-structs
  156.           
  157.           *RS/6000 Options and PowerPC*
  158.           -mcpu=CPU TYPE
  159.           -mpower -mno-power -mpower2 -pno-power2
  160.           -mpowerpc -mno-powerpc
  161.           -mpowerpc-gpopt -mno-powerpc-gpopt
  162.           -mpowerpc-gfxopt -mno-powerpc-gfxopt
  163.           -mnew-mnemonics -mno-new-mnemonics
  164.           -mfull-toc   -mminimal-toc  -mno-fop-in-toc  -mno-sum-in-toc
  165.           
  166.           *RT Options*
  167.           -mcall-lib-mul  -mfp-arg-in-fpregs  -mfp-arg-in-gregs
  168.           -mfull-fp-blocks  -mhc-struct-return  -min-line-mul
  169.           -mminimum-fp-blocks  -mnohc-struct-return
  170.           
  171.           *MIPS Options*
  172.           -mabicalls  -mcpu=CPU  TYPE  -membedded-data
  173.           -membedded-pic  -mfp32  -mfp64  -mgas  -mgp32  -mgp64
  174.           -mgpopt  -mhalf-pic  -mhard-float  -mint64 -mips1
  175.           -mips2 -mips3  -mlong64  -mlong-calls  -mmemcpy
  176.           -mmips-as  -mmips-tfile  -mno-abicalls
  177.           -mno-embedded-data  -mno-embedd