home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / UNIX / GNU / gcc-2.7.2.3.1-I / info / gcc.info-4 < prev    next >
Encoding:
GNU Info File  |  1997-09-12  |  49.9 KB  |  1,226 lines

  1. This is Info file gcc.info, produced by Makeinfo version 1.67 from the
  2. input file gcc.texi.
  3.  
  4.    This file documents the use and the internals of the GNU compiler.
  5.  
  6.    Published by the Free Software Foundation 59 Temple Place - Suite 330
  7. Boston, MA 02111-1307 USA
  8.  
  9.    Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995 Free Software
  10. Foundation, Inc.
  11.  
  12.    Permission is granted to make and distribute verbatim copies of this
  13. manual provided the copyright notice and this permission notice are
  14. preserved on all copies.
  15.  
  16.    Permission is granted to copy and distribute modified versions of
  17. this manual under the conditions for verbatim copying, provided also
  18. that the sections entitled "GNU General Public License," "Funding for
  19. Free Software," and "Protect Your Freedom--Fight `Look And Feel'" are
  20. included exactly as in the original, and provided that the entire
  21. resulting derived work is distributed under the terms of a permission
  22. notice identical to this one.
  23.  
  24.    Permission is granted to copy and distribute translations of this
  25. manual into another language, under the above conditions for modified
  26. versions, except that the sections entitled "GNU General Public
  27. License," "Funding for Free Software," and "Protect Your Freedom--Fight
  28. `Look And Feel'", and this permission notice, may be included in
  29. translations approved by the Free Software Foundation instead of in the
  30. original English.
  31.  
  32. 
  33. File: gcc.info,  Node: Link Options,  Next: Directory Options,  Prev: Assembler Options,  Up: Invoking GCC
  34.  
  35. Options for Linking
  36. ===================
  37.  
  38.    These options come into play when the compiler links object files
  39. into an executable output file.  They are meaningless if the compiler is
  40. not doing a link step.
  41.  
  42. `OBJECT-FILE-NAME'
  43.      A file name that does not end in a special recognized suffix is
  44.      considered to name an object file or library.  (Object files are
  45.      distinguished from libraries by the linker according to the file
  46.      contents.)  If linking is done, these object files are used as
  47.      input to the linker.
  48.  
  49. `-c'
  50. `-S'
  51. `-E'
  52.      If any of these options is used, then the linker is not run, and
  53.      object file names should not be used as arguments.  *Note Overall
  54.      Options::.
  55.  
  56. `-lLIBRARY'
  57.      Search the library named LIBRARY when linking.
  58.  
  59.      It makes a difference where in the command you write this option;
  60.      the linker searches processes libraries and object files in the
  61.      order they are specified.  Thus, `foo.o -lz bar.o' searches
  62.      library `z' after file `foo.o' but before `bar.o'.  If `bar.o'
  63.      refers to functions in `z', those functions may not be loaded.
  64.  
  65.      The linker searches a standard list of directories for the library,
  66.      which is actually a file named `libLIBRARY.a'.  The linker then
  67.      uses this file as if it had been specified precisely by name.
  68.  
  69.      The directories searched include several standard system
  70.      directories plus any that you specify with `-L'.
  71.  
  72.      Normally the files found this way are library files--archive files
  73.      whose members are object files.  The linker handles an archive
  74.      file by scanning through it for members which define symbols that
  75.      have so far been referenced but not defined.  But if the file that
  76.      is found is an ordinary object file, it is linked in the usual
  77.      fashion.  The only difference between using an `-l' option and
  78.      specifying a file name is that `-l' surrounds LIBRARY with `lib'
  79.      and `.a' and searches several directories.
  80.  
  81. `-lobjc'
  82.      You need this special case of the `-l' option in order to link an
  83.      Objective C program.
  84.  
  85. `-nostartfiles'
  86.      Do not use the standard system startup files when linking.  The
  87.      standard system libraries are used normally, unless `-nostdlib' or
  88.      `-nodefaultlibs' is used.
  89.  
  90. `-nodefaultlibs'
  91.      Do not use the standard system libraries when linking.  Only the
  92.      libraries you specify will be passed to the linker.  The standard
  93.      startup files are used normally, unless `-nostartfiles' is used.
  94.  
  95. `-nostdlib'
  96.      Do not use the standard system startup files or libraries when
  97.      linking.  No startup files and only the libraries you specify will
  98.      be passed to the linker.
  99.  
  100.      One of the standard libraries bypassed by `-nostdlib' and
  101.      `-nodefaultlibs' is `libgcc.a', a library of internal subroutines
  102.      that GNU CC uses to overcome shortcomings of particular machines,
  103.      or special needs for some languages.  (*Note Interfacing to GNU CC
  104.      Output: Interface, for more discussion of `libgcc.a'.) In most
  105.      cases, you need `libgcc.a' even when you want to avoid other
  106.      standard libraries.  In other words, when you specify `-nostdlib'
  107.      or `-nodefaultlibs' you should usually specify `-lgcc' as well.
  108.      This ensures that you have no unresolved references to internal
  109.      GNU CC library subroutines.  (For example, `__main', used to
  110.      ensure C++ constructors will be called; *note `collect2':
  111.      Collect2..)
  112.  
  113. `-s'
  114.      Remove all symbol table and relocation information from the
  115.      executable.
  116.  
  117. `-static'
  118.      On systems that support dynamic linking, this prevents linking
  119.      with the shared libraries.  On other systems, this option has no
  120.      effect.
  121.  
  122. `-shared'
  123.      Produce a shared object which can then be linked with other
  124.      objects to form an executable.  Only a few systems support this
  125.      option.
  126.  
  127. `-symbolic'
  128.      Bind references to global symbols when building a shared object.
  129.      Warn about any unresolved references (unless overridden by the
  130.      link editor option `-Xlinker -z -Xlinker defs').  Only a few
  131.      systems support this option.
  132.  
  133. `-Xlinker OPTION'
  134.      Pass OPTION as an option to the linker.  You can use this to
  135.      supply system-specific linker options which GNU CC does not know
  136.      how to recognize.
  137.  
  138.      If you want to pass an option that takes an argument, you must use
  139.      `-Xlinker' twice, once for the option and once for the argument.
  140.      For example, to pass `-assert definitions', you must write
  141.      `-Xlinker -assert -Xlinker definitions'.  It does not work to write
  142.      `-Xlinker "-assert definitions"', because this passes the entire
  143.      string as a single argument, which is not what the linker expects.
  144.  
  145. `-Wl,OPTION'
  146.      Pass OPTION as an option to the linker.  If OPTION contains
  147.      commas, it is split into multiple options at the commas.
  148.  
  149. `-u SYMBOL'
  150.      Pretend the symbol SYMBOL is undefined, to force linking of
  151.      library modules to define it.  You can use `-u' multiple times with
  152.      different symbols to force loading of additional library modules.
  153.  
  154. 
  155. File: gcc.info,  Node: Directory Options,  Next: Target Options,  Prev: Link Options,  Up: Invoking GCC
  156.  
  157. Options for Directory Search
  158. ============================
  159.  
  160.    These options specify directories to search for header files, for
  161. libraries and for parts of the compiler:
  162.  
  163. `-IDIR'
  164.      Add the directory DIRECTORY to the head of the list of directories
  165.      to be searched for header files.  This can be used to override a
  166.      system header file, substituting your own version, since these
  167.      directories are searched before the system header file
  168.      directories.  If you use more than one `-I' option, the
  169.      directories are scanned in left-to-right order; the standard
  170.      system directories come after.
  171.  
  172. `-I-'
  173.      Any directories you specify with `-I' options before the `-I-'
  174.      option are searched only for the case of `#include "FILE"'; they
  175.      are not searched for `#include <FILE>'.
  176.  
  177.      If additional directories are specified with `-I' options after
  178.      the `-I-', these directories are searched for all `#include'
  179.      directives.  (Ordinarily *all* `-I' directories are used this way.)
  180.  
  181.      In addition, the `-I-' option inhibits the use of the current
  182.      directory (where the current input file came from) as the first
  183.      search directory for `#include "FILE"'.  There is no way to
  184.      override this effect of `-I-'.  With `-I.' you can specify
  185.      searching the directory which was current when the compiler was
  186.      invoked.  That is not exactly the same as what the preprocessor
  187.      does by default, but it is often satisfactory.
  188.  
  189.      `-I-' does not inhibit the use of the standard system directories
  190.      for header files.  Thus, `-I-' and `-nostdinc' are independent.
  191.  
  192. `-LDIR'
  193.      Add directory DIR to the list of directories to be searched for
  194.      `-l'.
  195.  
  196. `-BPREFIX'
  197.      This option specifies where to find the executables, libraries,
  198.      include files, and data files of the compiler itself.
  199.  
  200.      The compiler driver program runs one or more of the subprograms
  201.      `cpp', `cc1', `as' and `ld'.  It tries PREFIX as a prefix for each
  202.      program it tries to run, both with and without `MACHINE/VERSION/'
  203.      (*note Target Options::.).
  204.  
  205.      For each subprogram to be run, the compiler driver first tries the
  206.      `-B' prefix, if any.  If that name is not found, or if `-B' was
  207.      not specified, the driver tries two standard prefixes, which are
  208.      `/usr/lib/gcc/' and `/usr/local/lib/gcc-lib/'.  If neither of
  209.      those results in a file name that is found, the unmodified program
  210.      name is searched for using the directories specified in your
  211.      `PATH' environment variable.
  212.  
  213.      `-B' prefixes that effectively specify directory names also apply
  214.      to libraries in the linker, because the compiler translates these
  215.      options into `-L' options for the linker.  They also apply to
  216.      includes files in the preprocessor, because the compiler
  217.      translates these options into `-isystem' options for the
  218.      preprocessor.  In this case, the compiler appends `include' to the
  219.      prefix.
  220.  
  221.      The run-time support file `libgcc.a' can also be searched for using
  222.      the `-B' prefix, if needed.  If it is not found there, the two
  223.      standard prefixes above are tried, and that is all.  The file is
  224.      left out of the link if it is not found by those means.
  225.  
  226.      Another way to specify a prefix much like the `-B' prefix is to use
  227.      the environment variable `GCC_EXEC_PREFIX'.  *Note Environment
  228.      Variables::.
  229.  
  230. 
  231. File: gcc.info,  Node: Target Options,  Next: Submodel Options,  Prev: Directory Options,  Up: Invoking GCC
  232.  
  233. Specifying Target Machine and Compiler Version
  234. ==============================================
  235.  
  236.    By default, GNU CC compiles code for the same type of machine that
  237. you are using.  However, it can also be installed as a cross-compiler,
  238. to compile for some other type of machine.  In fact, several different
  239. configurations of GNU CC, for different target machines, can be
  240. installed side by side.  Then you specify which one to use with the
  241. `-b' option.
  242.  
  243.    In addition, older and newer versions of GNU CC can be installed side
  244. by side.  One of them (probably the newest) will be the default, but
  245. you may sometimes wish to use another.
  246.  
  247. `-b MACHINE'
  248.      The argument MACHINE specifies the target machine for compilation.
  249.      This is useful when you have installed GNU CC as a cross-compiler.
  250.  
  251.      The value to use for MACHINE is the same as was specified as the
  252.      machine type when configuring GNU CC as a cross-compiler.  For
  253.      example, if a cross-compiler was configured with `configure
  254.      i386v', meaning to compile for an 80386 running System V, then you
  255.      would specify `-b i386v' to run that cross compiler.
  256.  
  257.      When you do not specify `-b', it normally means to compile for the
  258.      same type of machine that you are using.
  259.  
  260. `-V VERSION'
  261.      The argument VERSION specifies which version of GNU CC to run.
  262.      This is useful when multiple versions are installed.  For example,
  263.      VERSION might be `2.0', meaning to run GNU CC version 2.0.
  264.  
  265.      The default version, when you do not specify `-V', is the last
  266.      version of GNU CC that you installed.
  267.  
  268.    The `-b' and `-V' options actually work by controlling part of the
  269. file name used for the executable files and libraries used for
  270. compilation.  A given version of GNU CC, for a given target machine, is
  271. normally kept in the directory `/usr/local/lib/gcc-lib/MACHINE/VERSION'.
  272.  
  273.    Thus, sites can customize the effect of `-b' or `-V' either by
  274. changing the names of these directories or adding alternate names (or
  275. symbolic links).  If in directory `/usr/local/lib/gcc-lib/' the file
  276. `80386' is a link to the file `i386v', then `-b 80386' becomes an alias
  277. for `-b i386v'.
  278.  
  279.    In one respect, the `-b' or `-V' do not completely change to a
  280. different compiler: the top-level driver program `gcc' that you
  281. originally invoked continues to run and invoke the other executables
  282. (preprocessor, compiler per se, assembler and linker) that do the real
  283. work.  However, since no real work is done in the driver program, it
  284. usually does not matter that the driver program in use is not the one
  285. for the specified target and version.
  286.  
  287.    The only way that the driver program depends on the target machine is
  288. in the parsing and handling of special machine-specific options.
  289. However, this is controlled by a file which is found, along with the
  290. other executables, in the directory for the specified version and
  291. target machine.  As a result, a single installed driver program adapts
  292. to any specified target machine and compiler version.
  293.  
  294.    The driver program executable does control one significant thing,
  295. however: the default version and target machine.  Therefore, you can
  296. install different instances of the driver program, compiled for
  297. different targets or versions, under different names.
  298.  
  299.    For example, if the driver for version 2.0 is installed as `ogcc'
  300. and that for version 2.1 is installed as `gcc', then the command `gcc'
  301. will use version 2.1 by default, while `ogcc' will use 2.0 by default.
  302. However, you can choose either version with either command with the
  303. `-V' option.
  304.  
  305. 
  306. File: gcc.info,  Node: Submodel Options,  Next: Code Gen Options,  Prev: Target Options,  Up: Invoking GCC
  307.  
  308. Hardware Models and Configurations
  309. ==================================
  310.  
  311.    Earlier we discussed the standard option `-b' which chooses among
  312. different installed compilers for completely different target machines,
  313. such as Vax vs. 68000 vs. 80386.
  314.  
  315.    In addition, each of these target machine types can have its own
  316. special options, starting with `-m', to choose among various hardware
  317. models or configurations--for example, 68010 vs 68020, floating
  318. coprocessor or none.  A single installed version of the compiler can
  319. compile for any model or configuration, according to the options
  320. specified.
  321.  
  322.    Some configurations of the compiler also support additional special
  323. options, usually for compatibility with other compilers on the same
  324. platform.
  325.  
  326.    These options are defined by the macro `TARGET_SWITCHES' in the
  327. machine description.  The default for the options is also defined by
  328. that macro, which enables you to change the defaults.
  329.  
  330. * Menu:
  331.  
  332. * M680x0 Options::
  333. * VAX Options::
  334. * SPARC Options::
  335. * Convex Options::
  336. * AMD29K Options::
  337. * ARM Options::
  338. * M88K Options::
  339. * RS/6000 and PowerPC Options::
  340. * RT Options::
  341. * MIPS Options::
  342. * i386 Options::
  343. * HPPA Options::
  344. * Intel 960 Options::
  345. * DEC Alpha Options::
  346. * Clipper Options::
  347. * H8/300 Options::
  348. * System V Options::
  349.  
  350. 
  351. File: gcc.info,  Node: M680x0 Options,  Next: VAX Options,  Up: Submodel Options
  352.  
  353. M680x0 Options
  354. --------------
  355.  
  356.    These are the `-m' options defined for the 68000 series.  The default
  357. values for these options depends on which style of 68000 was selected
  358. when the compiler was configured; the defaults for the most common
  359. choices are given below.
  360.  
  361. `-m68000'
  362. `-mc68000'
  363.      Generate output for a 68000.  This is the default when the
  364.      compiler is configured for 68000-based systems.
  365.  
  366. `-m68020'
  367. `-mc68020'
  368.      Generate output for a 68020.  This is the default when the
  369.      compiler is configured for 68020-based systems.
  370.  
  371. `-m68881'
  372.      Generate output containing 68881 instructions for floating point.
  373.      This is the default for most 68020 systems unless `-nfp' was
  374.      specified when the compiler was configured.
  375.  
  376. `-m68030'
  377.      Generate output for a 68030.  This is the default when the
  378.      compiler is configured for 68030-based systems.
  379.  
  380. `-m68040'
  381.      Generate output for a 68040.  This is the default when the
  382.      compiler is configured for 68040-based systems.
  383.  
  384.      This option inhibits the use of 68881/68882 instructions that have
  385.      to be emulated by software on the 68040.  If your 68040 does not
  386.      have code to emulate those instructions, use `-m68040'.
  387.  
  388. `-m68020-40'
  389.      Generate output for a 68040, without using any of the new
  390.      instructions.  This results in code which can run relatively
  391.      efficiently on either a 68020/68881 or a 68030 or a 68040.  The
  392.      generated code does use the 68881 instructions that are emulated
  393.      on the 68040.
  394.  
  395. `-mfpa'
  396.      Generate output containing Sun FPA instructions for floating point.
  397.  
  398. `-msoft-float'
  399.      Generate output containing library calls for floating point.
  400.      *Warning:* the requisite libraries are not available for all m68k
  401.      targets.  Normally the facilities of the machine's usual C
  402.      compiler are used, but this can't be done directly in
  403.      cross-compilation.  You must make your own arrangements to provide
  404.      suitable library functions for cross-compilation.  The embedded
  405.      targets `m68k-*-aout' and `m68k-*-coff' do provide software
  406.      floating point support.
  407.  
  408. `-mshort'
  409.      Consider type `int' to be 16 bits wide, like `short int'.
  410.  
  411. `-mnobitfield'
  412.      Do not use the bit-field instructions.  The `-m68000' option
  413.      implies `-mnobitfield'.
  414.  
  415. `-mbitfield'
  416.      Do use the bit-field instructions.  The `-m68020' option implies
  417.      `-mbitfield'.  This is the default if you use a configuration
  418.      designed for a 68020.
  419.  
  420. `-mrtd'
  421.      Use a different function-calling convention, in which functions
  422.      that take a fixed number of arguments return with the `rtd'
  423.      instruction, which pops their arguments while returning.  This
  424.      saves one instruction in the caller since there is no need to pop
  425.      the arguments there.
  426.  
  427.      This calling convention is incompatible with the one normally used
  428.      on Unix, so you cannot use it if you need to call libraries
  429.      compiled with the Unix compiler.
  430.  
  431.      Also, you must provide function prototypes for all functions that
  432.      take variable numbers of arguments (including `printf'); otherwise
  433.      incorrect code will be generated for calls to those functions.
  434.  
  435.      In addition, seriously incorrect code will result if you call a
  436.      function with too many arguments.  (Normally, extra arguments are
  437.      harmlessly ignored.)
  438.  
  439.      The `rtd' instruction is supported by the 68010 and 68020
  440.      processors, but not by the 68000.
  441.  
  442. 
  443. File: gcc.info,  Node: VAX Options,  Next: SPARC Options,  Prev: M680x0 Options,  Up: Submodel Options
  444.  
  445. VAX Options
  446. -----------
  447.  
  448.    These `-m' options are defined for the Vax:
  449.  
  450. `-munix'
  451.      Do not output certain jump instructions (`aobleq' and so on) that
  452.      the Unix assembler for the Vax cannot handle across long ranges.
  453.  
  454. `-mgnu'
  455.      Do output those jump instructions, on the assumption that you will
  456.      assemble with the GNU assembler.
  457.  
  458. `-mg'
  459.      Output code for g-format floating point numbers instead of
  460.      d-format.
  461.  
  462. 
  463. File: gcc.info,  Node: SPARC Options,  Next: Convex Options,  Prev: VAX Options,  Up: Submodel Options
  464.  
  465. SPARC Options
  466. -------------
  467.  
  468.    These `-m' switches are supported on the SPARC:
  469.  
  470. `-mno-app-regs'
  471. `-mapp-regs'
  472.      Specify `-mapp-regs' to generate output using the global registers
  473.      2 through 4, which the SPARC SVR4 ABI reserves for applications.
  474.      This is the default.
  475.  
  476.      To be fully SVR4 ABI compliant at the cost of some performance
  477.      loss, specify `-mno-app-regs'.  You should compile libraries and
  478.      system software with this option.
  479.  
  480. `-mfpu'
  481. `-mhard-float'
  482.      Generate output containing floating point instructions.  This is
  483.      the default.
  484.  
  485. `-mno-fpu'
  486. `-msoft-float'
  487.      Generate output containing library calls for floating point.
  488.      *Warning:* the requisite libraries are not available for all SPARC
  489.      targets.  Normally the facilities of the machine's usual C
  490.      compiler are used, but this cannot be done directly in
  491.      cross-compilation.  You must make your own arrangements to provide
  492.      suitable library functions for cross-compilation.  The embedded
  493.      targets `sparc-*-aout' and `sparclite-*-*' do provide software
  494.      floating point support.
  495.  
  496.      `-msoft-float' changes the calling convention in the output file;
  497.      therefore, it is only useful if you compile *all* of a program with
  498.      this option.  In particular, you need to compile `libgcc.a', the
  499.      library that comes with GNU CC, with `-msoft-float' in order for
  500.      this to work.
  501.  
  502. `-mhard-quad-float'
  503.      Generate output containing quad-word (long double) floating point
  504.      instructions.
  505.  
  506. `-msoft-quad-float'
  507.      Generate output containing library calls for quad-word (long
  508.      double) floating point instructions.  The functions called are
  509.      those specified in the SPARC ABI.  This is the default.
  510.  
  511.      As of this writing, there are no sparc implementations that have
  512.      hardware support for the quad-word floating point instructions.
  513.      They all invoke a trap handler for one of these instructions, and
  514.      then the trap handler emulates the effect of the instruction.
  515.      Because of the trap handler overhead, this is much slower than
  516.      calling the ABI library routines.  Thus the `-msoft-quad-float'
  517.      option is the default.
  518.  
  519. `-mno-epilogue'
  520. `-mepilogue'
  521.      With `-mepilogue' (the default), the compiler always emits code for
  522.      function exit at the end of each function.  Any function exit in
  523.      the middle of the function (such as a return statement in C) will
  524.      generate a jump to the exit code at the end of the function.
  525.  
  526.      With `-mno-epilogue', the compiler tries to emit exit code inline
  527.      at every function exit.
  528.  
  529. `-mno-flat'
  530. `-mflat'
  531.      With `-mflat', the compiler does not generate save/restore
  532.      instructions and will use a "flat" or single register window
  533.      calling convention.  This model uses %i7 as the frame pointer and
  534.      is compatible with the normal register window model.  Code from
  535.      either may be intermixed although debugger support is still
  536.      incomplete.  The local registers and the input registers (0-5) are
  537.      still treated as "call saved" registers and will be saved on the
  538.      stack as necessary.
  539.  
  540.      With `-mno-flat' (the default), the compiler emits save/restore
  541.      instructions (except for leaf functions) and is the normal mode of
  542.      operation.
  543.  
  544. `-mno-unaligned-doubles'
  545. `-munaligned-doubles'
  546.      Assume that doubles have 8 byte alignment.  This is the default.
  547.  
  548.      With `-munaligned-doubles', GNU CC assumes that doubles have 8 byte
  549.      alignment only if they are contained in another type, or if they
  550.      have an absolute address.  Otherwise, it assumes they have 4 byte
  551.      alignment.  Specifying this option avoids some rare compatibility
  552.      problems with code generated by other compilers.  It is not the
  553.      default because it results in a performance loss, especially for
  554.      floating point code.
  555.  
  556. `-mv8'
  557. `-msparclite'
  558.      These two options select variations on the SPARC architecture.
  559.  
  560.      By default (unless specifically configured for the Fujitsu
  561.      SPARClite), GCC generates code for the v7 variant of the SPARC
  562.      architecture.
  563.  
  564.      `-mv8' will give you SPARC v8 code.  The only difference from v7
  565.      code is that the compiler emits the integer multiply and integer
  566.      divide instructions which exist in SPARC v8 but not in SPARC v7.
  567.  
  568.      `-msparclite' will give you SPARClite code.  This adds the integer
  569.      multiply, integer divide step and scan (`ffs') instructions which
  570.      exist in SPARClite but not in SPARC v7.
  571.  
  572. `-mcypress'
  573. `-msupersparc'
  574.      These two options select the processor for which the code is
  575.      optimised.
  576.  
  577.      With `-mcypress' (the default), the compiler optimizes code for the
  578.      Cypress CY7C602 chip, as used in the SparcStation/SparcServer 3xx
  579.      series.  This is also appropriate for the older SparcStation 1, 2,
  580.      IPX etc.
  581.  
  582.      With `-msupersparc' the compiler optimizes code for the SuperSparc
  583.      cpu, as used in the SparcStation 10, 1000 and 2000 series. This
  584.      flag also enables use of the full SPARC v8 instruction set.
  585.  
  586.    In a future version of GCC, these options will very likely be
  587. renamed to `-mcpu=cypress' and `-mcpu=supersparc'.
  588.  
  589.    These `-m' switches are supported in addition to the above on SPARC
  590. V9 processors:
  591.  
  592. `-mmedlow'
  593.      Generate code for the Medium/Low code model: assume a 32 bit
  594.      address space.  Programs are statically linked, PIC is not
  595.      supported.  Pointers are still 64 bits.
  596.  
  597.      It is very likely that a future version of GCC will rename this
  598.      option.
  599.  
  600. `-mmedany'
  601.      Generate code for the Medium/Anywhere code model: assume a 32 bit
  602.      text segment starting at offset 0, and a 32 bit data segment
  603.      starting anywhere (determined at link time).  Programs are
  604.      statically linked, PIC is not supported.  Pointers are still 64
  605.      bits.
  606.  
  607.      It is very likely that a future version of GCC will rename this
  608.      option.
  609.  
  610. `-mint64'
  611.      Types long and int are 64 bits.
  612.  
  613. `-mlong32'
  614.      Types long and int are 32 bits.
  615.  
  616. `-mlong64'
  617. `-mint32'
  618.      Type long is 64 bits, and type int is 32 bits.
  619.  
  620. `-mstack-bias'
  621. `-mno-stack-bias'
  622.      With `-mstack-bias', GNU CC assumes that the stack pointer, and
  623.      frame pointer if present, are offset by -2047 which must be added
  624.      back when making stack frame references.  Otherwise, assume no
  625.      such offset is present.
  626.  
  627. 
  628. File: gcc.info,  Node: Convex Options,  Next: AMD29K Options,  Prev: SPARC Options,  Up: Submodel Options
  629.  
  630. Convex Options
  631. --------------
  632.  
  633.    These `-m' options are defined for Convex:
  634.  
  635. `-mc1'
  636.      Generate output for C1.  The code will run on any Convex machine.
  637.      The preprocessor symbol `__convex__c1__' is defined.
  638.  
  639. `-mc2'
  640.      Generate output for C2.  Uses instructions not available on C1.
  641.      Scheduling and other optimizations are chosen for max performance
  642.      on C2.  The preprocessor symbol `__convex_c2__' is defined.
  643.  
  644. `-mc32'
  645.      Generate output for C32xx.  Uses instructions not available on C1.
  646.      Scheduling and other optimizations are chosen for max performance
  647.      on C32.  The preprocessor symbol `__convex_c32__' is defined.
  648.  
  649. `-mc34'
  650.      Generate output for C34xx.  Uses instructions not available on C1.
  651.      Scheduling and other optimizations are chosen for max performance
  652.      on C34.  The preprocessor symbol `__convex_c34__' is defined.
  653.  
  654. `-mc38'
  655.      Generate output for C38xx.  Uses instructions not available on C1.
  656.      Scheduling and other optimizations are chosen for max performance
  657.      on C38.  The preprocessor symbol `__convex_c38__' is defined.
  658.  
  659. `-margcount'
  660.      Generate code which puts an argument count in the word preceding
  661.      each argument list.  This is compatible with regular CC, and a few
  662.      programs may need the argument count word.  GDB and other
  663.      source-level debuggers do not need it; this info is in the symbol
  664.      table.
  665.  
  666. `-mnoargcount'
  667.      Omit the argument count word.  This is the default.
  668.  
  669. `-mvolatile-cache'
  670.      Allow volatile references to be cached.  This is the default.
  671.  
  672. `-mvolatile-nocache'
  673.      Volatile references bypass the data cache, going all the way to
  674.      memory.  This is only needed for multi-processor code that does
  675.      not use standard synchronization instructions.  Making
  676.      non-volatile references to volatile locations will not necessarily
  677.      work.
  678.  
  679. `-mlong32'
  680.      Type long is 32 bits, the same as type int.  This is the default.
  681.  
  682. `-mlong64'
  683.      Type long is 64 bits, the same as type long long.  This option is
  684.      useless, because no library support exists for it.
  685.  
  686. 
  687. File: gcc.info,  Node: AMD29K Options,  Next: ARM Options,  Prev: Convex Options,  Up: Submodel Options
  688.  
  689. AMD29K Options
  690. --------------
  691.  
  692.    These `-m' options are defined for the AMD Am29000:
  693.  
  694. `-mdw'
  695.      Generate code that assumes the `DW' bit is set, i.e., that byte and
  696.      halfword operations are directly supported by the hardware.  This
  697.      is the default.
  698.  
  699. `-mndw'
  700.      Generate code that assumes the `DW' bit is not set.
  701.  
  702. `-mbw'
  703.      Generate code that assumes the system supports byte and halfword
  704.      write operations.  This is the default.
  705.  
  706. `-mnbw'
  707.      Generate code that assumes the systems does not support byte and
  708.      halfword write operations.  `-mnbw' implies `-mndw'.
  709.  
  710. `-msmall'
  711.      Use a small memory model that assumes that all function addresses
  712.      are either within a single 256 KB segment or at an absolute
  713.      address of less than 256k.  This allows the `call' instruction to
  714.      be used instead of a `const', `consth', `calli' sequence.
  715.  
  716. `-mnormal'
  717.      Use the normal memory model: Generate `call' instructions only when
  718.      calling functions in the same file and `calli' instructions
  719.      otherwise.  This works if each file occupies less than 256 KB but
  720.      allows the entire executable to be larger than 256 KB.  This is
  721.      the default.
  722.  
  723. `-mlarge'
  724.      Always use `calli' instructions.  Specify this option if you expect
  725.      a single file to compile into more than 256 KB of code.
  726.  
  727. `-m29050'
  728.      Generate code for the Am29050.
  729.  
  730. `-m29000'
  731.      Generate code for the Am29000.  This is the default.
  732.  
  733. `-mkernel-registers'
  734.      Generate references to registers `gr64-gr95' instead of to
  735.      registers `gr96-gr127'.  This option can be used when compiling
  736.      kernel code that wants a set of global registers disjoint from
  737.      that used by user-mode code.
  738.  
  739.      Note that when this option is used, register names in `-f' flags
  740.      must use the normal, user-mode, names.
  741.  
  742. `-muser-registers'
  743.      Use the normal set of global registers, `gr96-gr127'.  This is the
  744.      default.
  745.  
  746. `-mstack-check'
  747. `-mno-stack-check'
  748.      Insert (or do not insert) a call to `__msp_check' after each stack
  749.      adjustment.  This is often used for kernel code.
  750.  
  751. `-mstorem-bug'
  752. `-mno-storem-bug'
  753.      `-mstorem-bug' handles 29k processors which cannot handle the
  754.      separation of a mtsrim insn and a storem instruction (most 29000
  755.      chips to date, but not the 29050).
  756.  
  757. `-mno-reuse-arg-regs'
  758. `-mreuse-arg-regs'
  759.      `-mno-reuse-arg-regs' tells the compiler to only use incoming
  760.      argument registers for copying out arguments.  This helps detect
  761.      calling a function with fewer arguments than it was declared with.
  762.  
  763. `-msoft-float'
  764.      Generate output containing library calls for floating point.
  765.      *Warning:* the requisite libraries are not part of GNU CC.
  766.      Normally the facilities of the machine's usual C compiler are
  767.      used, but this can't be done directly in cross-compilation.  You
  768.      must make your own arrangements to provide suitable library
  769.      functions for cross-compilation.
  770.  
  771. 
  772. File: gcc.info,  Node: ARM Options,  Next: M88K Options,  Prev: AMD29K Options,  Up: Submodel Options
  773.  
  774. ARM Options
  775. -----------
  776.  
  777.    These `-m' options are defined for Advanced RISC Machines (ARM)
  778. architectures:
  779.  
  780. `-m2'
  781. `-m3'
  782.      These options are identical.  Generate code for the ARM2 and ARM3
  783.      processors.  This option is the default.  You should also use this
  784.      option to generate code for ARM6 processors that are running with a
  785.      26-bit program counter.
  786.  
  787. `-m6'
  788.      Generate code for the ARM6 processor when running with a 32-bit
  789.      program counter.
  790.  
  791. `-mapcs'
  792.      Generate a stack frame that is compliant with the ARM Procedure
  793.      Call Standard for all functions, even if this is not strictly
  794.      necessary for correct execution of the code.
  795.  
  796. `-mbsd'
  797.      This option only applies to RISC iX.  Emulate the native BSD-mode
  798.      compiler.  This is the default if `-ansi' is not specified.
  799.  
  800. `-mxopen'
  801.      This option only applies to RISC iX.  Emulate the native
  802.      X/Open-mode compiler.
  803.  
  804. `-mno-symrename'
  805.      This option only applies to RISC iX.  Do not run the assembler
  806.      post-processor, `symrename', after code has been assembled.
  807.      Normally it is necessary to modify some of the standard symbols in
  808.      preparation for linking with the RISC iX C library; this option
  809.      suppresses this pass.  The post-processor is never run when the
  810.      compiler is built for cross-compilation.
  811.  
  812. 
  813. File: gcc.info,  Node: M88K Options,  Next: RS/6000 and PowerPC Options,  Prev: ARM Options,  Up: Submodel Options
  814.  
  815. M88K Options
  816. ------------
  817.  
  818.    These `-m' options are defined for Motorola 88k architectures:
  819.  
  820. `-m88000'
  821.      Generate code that works well on both the m88100 and the m88110.
  822.  
  823. `-m88100'
  824.      Generate code that works best for the m88100, but that also runs
  825.      on the m88110.
  826.  
  827. `-m88110'
  828.      Generate code that works best for the m88110, and may not run on
  829.      the m88100.
  830.  
  831. `-mbig-pic'
  832.      Obsolete option to be removed from the next revision.  Use `-fPIC'.
  833.  
  834. `-midentify-revision'
  835.      Include an `ident' directive in the assembler output recording the
  836.      source file name, compiler name and version, timestamp, and
  837.      compilation flags used.
  838.  
  839. `-mno-underscores'
  840.      In assembler output, emit symbol names without adding an underscore
  841.      character at the beginning of each name.  The default is to use an
  842.      underscore as prefix on each name.
  843.  
  844. `-mocs-debug-info'
  845. `-mno-ocs-debug-info'
  846.      Include (or omit) additional debugging information (about
  847.      registers used in each stack frame) as specified in the 88open
  848.      Object Compatibility Standard, "OCS".  This extra information
  849.      allows debugging of code that has had the frame pointer
  850.      eliminated.  The default for DG/UX, SVr4, and Delta 88 SVr3.2 is
  851.      to include this information; other 88k configurations omit this
  852.      information by default.
  853.  
  854. `-mocs-frame-position'
  855.      When emitting COFF debugging information for automatic variables
  856.      and parameters stored on the stack, use the offset from the
  857.      canonical frame address, which is the stack pointer (register 31)
  858.      on entry to the function.  The DG/UX, SVr4, Delta88 SVr3.2, and
  859.      BCS configurations use `-mocs-frame-position'; other 88k
  860.      configurations have the default `-mno-ocs-frame-position'.
  861.  
  862. `-mno-ocs-frame-position'
  863.      When emitting COFF debugging information for automatic variables
  864.      and parameters stored on the stack, use the offset from the frame
  865.      pointer register (register 30).  When this option is in effect,
  866.      the frame pointer is not eliminated when debugging information is
  867.      selected by the -g switch.
  868.  
  869. `-moptimize-arg-area'
  870. `-mno-optimize-arg-area'
  871.      Control how function arguments are stored in stack frames.
  872.      `-moptimize-arg-area' saves space by optimizing them, but this
  873.      conflicts with the 88open specifications.  The opposite
  874.      alternative, `-mno-optimize-arg-area', agrees with 88open
  875.      standards.  By default GNU CC does not optimize the argument area.
  876.  
  877. `-mshort-data-NUM'
  878.      Generate smaller data references by making them relative to `r0',
  879.      which allows loading a value using a single instruction (rather
  880.      than the usual two).  You control which data references are
  881.      affected by specifying NUM with this option.  For example, if you
  882.      specify `-mshort-data-512', then the data references affected are
  883.      those involving displacements of less than 512 bytes.
  884.      `-mshort-data-NUM' is not effective for NUM greater than 64k.
  885.  
  886. `-mserialize-volatile'
  887. `-mno-serialize-volatile'
  888.      Do, or don't, generate code to guarantee sequential consistency of
  889.      volatile memory references.  By default, consistency is guaranteed.
  890.  
  891.      The order of memory references made by the MC88110 processor does
  892.      not always match the order of the instructions requesting those
  893.      references.  In particular, a load instruction may execute before
  894.      a preceding store instruction.  Such reordering violates
  895.      sequential consistency of volatile memory references, when there
  896.      are multiple processors.   When consistency must be guaranteed,
  897.      GNU C generates special instructions, as needed, to force
  898.      execution in the proper order.
  899.  
  900.      The MC88100 processor does not reorder memory references and so
  901.      always provides sequential consistency.  However, by default, GNU
  902.      C generates the special instructions to guarantee consistency even
  903.      when you use `-m88100', so that the code may be run on an MC88110
  904.      processor.  If you intend to run your code only on the MC88100
  905.      processor, you may use `-mno-serialize-volatile'.
  906.  
  907.      The extra code generated to guarantee consistency may affect the
  908.      performance of your application.  If you know that you can safely
  909.      forgo this guarantee, you may use `-mno-serialize-volatile'.
  910.  
  911. `-msvr4'
  912. `-msvr3'
  913.      Turn on (`-msvr4') or off (`-msvr3') compiler extensions related
  914.      to System V release 4 (SVr4).  This controls the following:
  915.  
  916.        1. Which variant of the assembler syntax to emit.
  917.  
  918.        2. `-msvr4' makes the C preprocessor recognize `#pragma weak'
  919.           that is used on System V release 4.
  920.  
  921.        3. `-msvr4' makes GNU CC issue additional declaration directives
  922.           used in SVr4.
  923.  
  924.      `-msvr4' is the default for the m88k-motorola-sysv4 and
  925.      m88k-dg-dgux m88k configurations. `-msvr3' is the default for all
  926.      other m88k configurations.
  927.  
  928. `-mversion-03.00'
  929.      This option is obsolete, and is ignored.
  930.  
  931. `-mno-check-zero-division'
  932. `-mcheck-zero-division'
  933.      Do, or don't, generate code to guarantee that integer division by
  934.      zero will be detected.  By default, detection is guaranteed.
  935.  
  936.      Some models of the MC88100 processor fail to trap upon integer
  937.      division by zero under certain conditions.  By default, when
  938.      compiling code that might be run on such a processor, GNU C
  939.      generates code that explicitly checks for zero-valued divisors and
  940.      traps with exception number 503 when one is detected.  Use of
  941.      mno-check-zero-division suppresses such checking for code
  942.      generated to run on an MC88100 processor.
  943.  
  944.      GNU C assumes that the MC88110 processor correctly detects all
  945.      instances of integer division by zero.  When `-m88110' is
  946.      specified, both `-mcheck-zero-division' and
  947.      `-mno-check-zero-division' are ignored, and no explicit checks for
  948.      zero-valued divisors are generated.
  949.  
  950. `-muse-div-instruction'
  951.      Use the div instruction for signed integer division on the MC88100
  952.      processor.  By default, the div instruction is not used.
  953.  
  954.      On the MC88100 processor the signed integer division instruction
  955.      div) traps to the operating system on a negative operand.  The
  956.      operating system transparently completes the operation, but at a
  957.      large cost in execution time.  By default, when compiling code
  958.      that might be run on an MC88100 processor, GNU C emulates signed
  959.      integer division using the unsigned integer division instruction
  960.      divu), thereby avoiding the large penalty of a trap to the
  961.      operating system.  Such emulation has its own, smaller, execution
  962.      cost in both time and space.  To the extent that your code's
  963.      important signed integer division operations are performed on two
  964.      nonnegative operands, it may be desirable to use the div
  965.      instruction directly.
  966.  
  967.      On the MC88110 processor the div instruction (also known as the
  968.      divs instruction) processes negative operands without trapping to
  969.      the operating system.  When `-m88110' is specified,
  970.      `-muse-div-instruction' is ignored, and the div instruction is used
  971.      for signed integer division.
  972.  
  973.      Note that the result of dividing INT_MIN by -1 is undefined.  In
  974.      particular, the behavior of such a division with and without
  975.      `-muse-div-instruction'  may differ.
  976.  
  977. `-mtrap-large-shift'
  978. `-mhandle-large-shift'
  979.      Include code to detect bit-shifts of more than 31 bits;
  980.      respectively, trap such shifts or emit code to handle them
  981.      properly.  By default GNU CC makes no special provision for large
  982.      bit shifts.
  983.  
  984. `-mwarn-passed-structs'
  985.      Warn when a function passes a struct as an argument or result.
  986.      Structure-passing conventions have changed during the evolution of
  987.      the C language, and are often the source of portability problems.
  988.      By default, GNU CC issues no such warning.
  989.  
  990. 
  991. File: gcc.info,  Node: RS/6000 and PowerPC Options,  Next: RT Options,  Prev: M88K Options,  Up: Submodel Options
  992.  
  993. IBM RS/6000 and PowerPC Options
  994. -------------------------------
  995.  
  996.    These `-m' options are defined for the IBM RS/6000 and PowerPC:
  997. `-mpower'
  998. `-mno-power'
  999. `-mpower2'
  1000. `-mno-power2'
  1001. `-mpowerpc'
  1002. `-mno-powerpc'
  1003. `-mpowerpc-gpopt'
  1004. `-mno-powerpc-gpopt'
  1005. `-mpowerpc-gfxopt'
  1006. `-mno-powerpc-gfxopt'
  1007.      GNU CC supports two related instruction set architectures for the
  1008.      RS/6000 and PowerPC.  The "POWER" instruction set are those
  1009.      instructions supported by the `rios' chip set used in the original
  1010.      RS/6000 systems and the "PowerPC" instruction set is the
  1011.      architecture of the Motorola MPC6xx microprocessors.  The PowerPC
  1012.      architecture defines 64-bit instructions, but they are not
  1013.      supported by any current processors.
  1014.  
  1015.      Neither architecture is a subset of the other.  However there is a
  1016.      large common subset of instructions supported by both.  An MQ
  1017.      register is included in processors supporting the POWER
  1018.      architecture.
  1019.  
  1020.      You use these options to specify which instructions are available
  1021.      on the processor you are using.  The default value of these
  1022.      options is determined when configuring GNU CC.  Specifying the
  1023.      `-mcpu=CPU_TYPE' overrides the specification of these options.  We
  1024.      recommend you use that option rather than these.
  1025.  
  1026.      The `-mpower' option allows GNU CC to generate instructions that
  1027.      are found only in the POWER architecture and to use the MQ
  1028.      register.  Specifying `-mpower2' implies `-power' and also allows
  1029.      GNU CC to generate instructions that are present in the POWER2
  1030.      architecture but not the original POWER architecture.
  1031.  
  1032.      The `-mpowerpc' option allows GNU CC to generate instructions that
  1033.      are found only in the 32-bit subset of the PowerPC architecture.
  1034.      Specifying `-mpowerpc-gpopt' implies `-mpowerpc' and also allows
  1035.      GNU CC to use the optional PowerPC architecture instructions in the
  1036.      General Purpose group, including floating-point square root.
  1037.      Specifying `-mpowerpc-gfxopt' implies `-mpowerpc' and also allows
  1038.      GNU CC to use the optional PowerPC architecture instructions in
  1039.      the Graphics group, including floating-point select.
  1040.  
  1041.      If you specify both `-mno-power' and `-mno-powerpc', GNU CC will
  1042.      use only the instructions in the common subset of both
  1043.      architectures plus some special AIX common-mode calls, and will
  1044.      not use the MQ register.  Specifying both `-mpower' and `-mpowerpc'
  1045.      permits GNU CC to use any instruction from either architecture and
  1046.      to allow use of the MQ register; specify this for the Motorola
  1047.      MPC601.
  1048.  
  1049. `-mnew-mnemonics'
  1050. `-mold-mnemonics'
  1051.      Select which mnemonics to use in the generated assembler code.
  1052.      `-mnew-mnemonics' requests output that uses the assembler mnemonics
  1053.      defined for the PowerPC architecture, while `-mold-mnemonics'
  1054.      requests the assembler mnemonics defined for the POWER
  1055.      architecture.  Instructions defined in only one architecture have
  1056.      only one mnemonic; GNU CC uses that mnemonic irrespective of which
  1057.      of these options is specified.
  1058.  
  1059.      PowerPC assemblers support both the old and new mnemonics, as will
  1060.      later POWER assemblers.  Current POWER assemblers only support the
  1061.      old mnemonics.  Specify `-mnew-mnemonics' if you have an assembler
  1062.      that supports them, otherwise specify `-mold-mnemonics'.
  1063.  
  1064.      The default value of these options depends on how GNU CC was
  1065.      configured.  Specifying `-mcpu=CPU_TYPE' sometimes overrides the
  1066.      value of these option.  Unless you are building a cross-compiler,
  1067.      you should normally not specify either `-mnew-mnemonics' or
  1068.      `-mold-mnemonics', but should instead accept the default.
  1069.  
  1070. `-mcpu=CPU_TYPE'
  1071.      Set architecture type, register usage, choice of mnemonics, and
  1072.      instruction scheduling parameters for machine type CPU_TYPE.  By
  1073.      default, CPU_TYPE is the target system defined when GNU CC was
  1074.      configured.  Supported values for CPU_TYPE are `rios1', `rios2',
  1075.      `rsc', `601', `603', `604', `power', `powerpc', `403', and
  1076.      `common'.  `-mcpu=power' and `-mcpu=powerpc' specify generic POWER
  1077.      and pure PowerPC (i.e., not MPC601) architecture machine types,
  1078.      with an appropriate, generic processor model assumed for
  1079.      scheduling purposes.
  1080.  
  1081.      Specifying `-mcpu=rios1', `-mcpu=rios2', `-mcpu=rsc', or
  1082.      `-mcpu=power' enables the `-mpower' option and disables the
  1083.      `-mpowerpc' option; `-mcpu=601' enables both the `-mpower' and
  1084.      `-mpowerpc' options; `-mcpu=603', `-mcpu=604', `-mcpu=403', and
  1085.      `-mcpu=powerpc' enable the `-mpowerpc' option and disable the
  1086.      `-mpower' option; `-mcpu=common' disables both the `-mpower' and
  1087.      `-mpowerpc' options.
  1088.  
  1089.      To generate code that will operate on all members of the RS/6000
  1090.      and PowerPC families, specify `-mcpu=common'.  In that case, GNU CC
  1091.      will use only the instructions in the common subset of both
  1092.      architectures plus some special AIX common-mode calls, and will
  1093.      not use the MQ register.  GNU CC assumes a generic processor model
  1094.      for scheduling purposes.
  1095.  
  1096.      Specifying `-mcpu=rios1', `-mcpu=rios2', `-mcpu=rsc', or
  1097.      `-mcpu=power' also disables the `new-mnemonics' option.
  1098.      Specifying `-mcpu=601', `-mcpu=603', `-mcpu=604', `403', or
  1099.      `-mcpu=powerpc' also enables the `new-mnemonics' option.
  1100.  
  1101. `-mfull-toc'
  1102. `-mno-fp-in-toc'
  1103. `-mno-sum-in-toc'
  1104. `-mminimal-toc'
  1105.      Modify generation of the TOC (Table Of Contents), which is created
  1106.      for every executable file.  The `-mfull-toc' option is selected by
  1107.      default.  In that case, GNU CC will allocate at least one TOC
  1108.      entry for each unique non-automatic variable reference in your
  1109.      program.  GNU CC will also place floating-point constants in the
  1110.      TOC.  However, only 16,384 entries are available in the TOC.
  1111.  
  1112.      If you receive a linker error message that saying you have
  1113.      overflowed the available TOC space, you can reduce the amount of
  1114.      TOC space used with the `-mno-fp-in-toc' and `-mno-sum-in-toc'
  1115.      options.  `-mno-fp-in-toc' prevents GNU CC from putting
  1116.      floating-point constants in the TOC and `-mno-sum-in-toc' forces
  1117.      GNU CC to generate code to calculate the sum of an address and a
  1118.      constant at run-time instead of putting that sum into the TOC.
  1119.      You may specify one or both of these options.  Each causes GNU CC
  1120.      to produce very slightly slower and larger code at the expense of
  1121.      conserving TOC space.
  1122.  
  1123.      If you still run out of space in the TOC even when you specify
  1124.      both of these options, specify `-mminimal-toc' instead.  This
  1125.      option causes GNU CC to make only one TOC entry for every file.
  1126.      When you specify this option, GNU CC will produce code that is
  1127.      slower and larger but which uses extremely little TOC space.  You
  1128.      may wish to use this option only on files that contain less
  1129.      frequently executed code.
  1130.  
  1131. `-msoft-float'
  1132. `-mhard-float'
  1133.      Generate code that does not use (uses) the floating-point register
  1134.      set.  Software floating point emulation is provided if you use the
  1135.      `-msoft-float' option, and pass the option to GNU CC when linking.
  1136.  
  1137. `-mmultiple'
  1138. `-mno-multiple'
  1139.      Generate code that uses (does not use) the load multiple word
  1140.      instructions and the store multiple word instructions.  These
  1141.      instructions are generated by default on POWER systems, and not
  1142.      generated on PowerPC systems.  Do not use `-mmultiple' on little
  1143.      endian PowerPC systems, since those instructions do not work when
  1144.      the processor is in little endian mode.
  1145.  
  1146. `-mstring'
  1147. `-mno-string'
  1148.      Generate code that uses (does not use) the load string
  1149.      instructions and the store string word instructions to save
  1150.      multiple registers and do small block moves.  These instructions
  1151.      are generated by default on POWER systems, anod not generated on
  1152.      PowerPC systems.  Do not use `-mstring' on little endian PowerPC
  1153.      systems, since those instructions do not work when the processor
  1154.      is in little endian mode.
  1155.  
  1156. `-mno-bit-align'
  1157. `-mbit-align'
  1158.      On System V.4 and embedded PowerPC systems do not (do) force
  1159.      structures and unions that contain bit fields to be aligned to the
  1160.      base type of the bit field.
  1161.  
  1162.      For example, by default a structure containing nothing but 8
  1163.      `unsigned' bitfields of length 1 would be aligned to a 4 byte
  1164.      boundary and have a size of 4 bytes.  By using `-mno-bit-align',
  1165.      the structure would be aligned to a 1 byte boundary and be one
  1166.      byte in size.
  1167.  
  1168. `-mno-strict-align'
  1169. `-mstrict-align'
  1170.      On System V.4 and embedded PowerPC systems do not (do) assume that
  1171.      unaligned memory references will be handled by the system.
  1172.  
  1173. `-mrelocatable'
  1174. `-mno-relocatable'
  1175.      On embedded PowerPC systems generate code that allows (does not
  1176.      allow) the program to be relocated to a different address at
  1177.      runtime.
  1178.  
  1179. `-mno-toc'
  1180. `-mtoc'
  1181.      On System V.4 and embedded PowerPC systems do not (do) assume that
  1182.      register 2 contains a pointer to a global area pointing to the
  1183.      addresses used in the program.
  1184.  
  1185. `-mno-traceback'
  1186. `-mtraceback'
  1187.      On embedded PowerPC systems do not (do) generate a traceback tag
  1188.      before the start of the function.  This tag can be used by the
  1189.      debugger to identify where the start of a function is.
  1190.  
  1191. `-mlittle'
  1192. `-mlittle-endian'
  1193.      On System V.4 and embedded PowerPC systems compile code for the
  1194.      processor in little endian mode.  The `-mlittle-endian' option is
  1195.      the same as `-mlittle'.
  1196.  
  1197. `-mbig'
  1198. `-mbig-endian'
  1199.      On System V.4 and embedded PowerPC systems compile code for the
  1200.      processor in big endian mode.  The `-mbig-endian' option is the
  1201.      same as `-mbig'.
  1202.  
  1203. `-mcall-sysv'
  1204.      On System V.4 and embedded PowerPC systems compile code using
  1205.      calling conventions that adheres to the March 1995 draft of the
  1206.      System V Application Binary Interface, PowerPC processor
  1207.      supplement.  This is the default unless you configured GCC using
  1208.      `powerpc-*-eabiaix'.
  1209.  
  1210. `-mcall-aix'
  1211.      On System V.4 and embedded PowerPC systems compile code using
  1212.      calling conventions that are similar to those used on AIX.  This
  1213.      is the default if you configured GCC using `powerpc-*-eabiaix'.
  1214.  
  1215. `-mprototype'
  1216. `-mno-prototype'
  1217.      On System V.4 and embedded PowerPC systems assume that all calls to
  1218.      variable argument functions are properly prototyped.  Otherwise,
  1219.      the compiler must insert an instruction before every non
  1220.      prototyped call to set or clear bit 6 of the condition code
  1221.      register (CR) to indicate whether floating point values were
  1222.      passed in the floating point registers in case the function takes
  1223.      a variable arguments.  With `-mprototype', only calls to
  1224.      prototyped variable argument functions will set or clear the bit.
  1225.  
  1226.