home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
gnu
/
gcc-2.6.3-bin.lha
/
GNU
/
info
/
gcc.info-4
(
.txt
)
< prev
next >
Wrap
GNU Info File
|
1994-12-23
|
50KB
|
959 lines
This is Info file gcc.info, produced by Makeinfo-1.55 from the input
file gcc.texi.
This file documents the use and the internals of the GNU compiler.
Published by the Free Software Foundation 675 Massachusetts Avenue
Cambridge, MA 02139 USA
Copyright (C) 1988, 1989, 1992, 1993, 1994 Free Software Foundation,
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of
this manual under the conditions for verbatim copying, provided also
that the sections entitled "GNU General Public License," "Funding for
Free Software," and "Protect Your Freedom--Fight `Look And Feel'" are
included exactly as in the original, and provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that the sections entitled "GNU General Public
License," "Funding for Free Software," and "Protect Your Freedom--Fight
`Look And Feel'", and this permission notice, may be included in
translations approved by the Free Software Foundation instead of in the
original English.
File: gcc.info, Node: Convex Options, Next: AMD29K Options, Prev: SPARC Options, Up: Submodel Options
Convex Options
--------------
These `-m' options are defined for Convex:
`-mc1'
Generate output for C1. The code will run on any Convex machine.
The preprocessor symbol `__convex__c1__' is defined.
`-mc2'
Generate output for C2. Uses instructions not available on C1.
Scheduling and other optimizations are chosen for max performance
on C2. The preprocessor symbol `__convex_c2__' is defined.
`-mc32'
Generate output for C32xx. Uses instructions not available on C1.
Scheduling and other optimizations are chosen for max performance
on C32. The preprocessor symbol `__convex_c32__' is defined.
`-mc34'
Generate output for C34xx. Uses instructions not available on C1.
Scheduling and other optimizations are chosen for max performance
on C34. The preprocessor symbol `__convex_c34__' is defined.
`-mc38'
Generate output for C38xx. Uses instructions not available on C1.
Scheduling and other optimizations are chosen for max performance
on C38. The preprocessor symbol `__convex_c38__' is defined.
`-margcount'
Generate code which puts an argument count in the word preceding
each argument list. This is compatible with regular CC, and a few
programs may need the argument count word. GDB and other
source-level debuggers do not need it; this info is in the symbol
table.
`-mnoargcount'
Omit the argument count word. This is the default.
`-mvolatile-cache'
Allow volatile references to be cached. This is the default.
`-mvolatile-nocache'
Volatile references bypass the data cache, going all the way to
memory. This is only needed for multi-processor code that does
not use standard synchronization instructions. Making
non-volatile references to volatile locations will not necessarily
work.
`-mlong32'
Type long is 32 bits, the same as type int. This is the default.
`-mlong64'
Type long is 64 bits, the same as type long long. This option is
useless, because no library support exists for it.
File: gcc.info, Node: AMD29K Options, Next: ARM Options, Prev: Convex Options, Up: Submodel Options
AMD29K Options
--------------
These `-m' options are defined for the AMD Am29000:
`-mdw'
Generate code that assumes the `DW' bit is set, i.e., that byte and
halfword operations are directly supported by the hardware. This
is the default.
`-mndw'
Generate code that assumes the `DW' bit is not set.
`-mbw'
Generate code that assumes the system supports byte and halfword
write operations. This is the default.
`-mnbw'
Generate code that assumes the systems does not support byte and
halfword write operations. `-mnbw' implies `-mndw'.
`-msmall'
Use a small memory model that assumes that all function addresses
are either within a single 256 KB segment or at an absolute
address of less than 256k. This allows the `call' instruction to
be used instead of a `const', `consth', `calli' sequence.
`-mnormal'
Use the normal memory model: Generate `call' instructions only when
calling functions in the same file and `calli' instructions
otherwise. This works if each file occupies less than 256 KB but
allows the entire executable to be larger than 256 KB. This is
the default.
`-mlarge'
Always use `calli' instructions. Specify this option if you expect
a single file to compile into more than 256 KB of code.
`-m29050'
Generate code for the Am29050.
`-m29000'
Generate code for the Am29000. This is the default.
`-mkernel-registers'
Generate references to registers `gr64-gr95' instead of to
registers `gr96-gr127'. This option can be used when compiling
kernel code that wants a set of global registers disjoint from
that used by user-mode code.
Note that when this option is used, register names in `-f' flags
must use the normal, user-mode, names.
`-muser-registers'
Use the normal set of global registers, `gr96-gr127'. This is the
default.
`-mstack-check'
`-mno-stack-check'
Insert (or do not insert) a call to `__msp_check' after each stack
adjustment. This is often used for kernel code.
`-mstorem-bug'
`-mno-storem-bug'
`-mstorem-bug' handles 29k processors which cannot handle the
separation of a mtsrim insn and a storem instruction (most 29000
chips to date, but not the 29050).
`-mno-reuse-arg-regs'
`-mreuse-arg-regs'
`-mno-reuse-arg-regs' tells the compiler to only use incoming
argument registers for copying out arguments. This helps detect
calling a function with fewer arguments than it was declared with.
`-msoft-float'
Generate output containing library calls for floating point.
*Warning:* the requisite libraries are not part of GNU CC.
Normally the facilities of the machine's usual C compiler are
used, but this can't be done directly in cross-compilation. You
must make your own arrangements to provide suitable library
functions for cross-compilation.
File: gcc.info, Node: ARM Options, Next: M88K Options, Prev: AMD29K Options, Up: Submodel Options
ARM Options
-----------
These `-m' options are defined for Advanced RISC Machines (ARM)
architectures:
`-m2'
`-m3'
These options are identical. Generate code for the ARM2 and ARM3
processors. This option is the default. You should also use this
option to generate code for ARM6 processors that are running with a
26-bit program counter.
`-m6'
Generate code for the ARM6 processor when running with a 32-bit
program counter.
`-mapcs'
Generate a stack frame that is compliant with the ARM Proceedure
Call Standard for all functions, even if this is not strictly
necessary for correct execution of the code.
`-mbsd'
This option only applies to RISC iX. Emulate the native BSD-mode
compiler. This is the default if `-ansi' is not specified.
`-mxopen'
This option only applies to RISC iX. Emulate the native
X/Open-mode compiler.
`-mno-symrename'
This option only applies to RISC iX. Do not run the assembler
post-processor, `symrename', after code has been assembled.
Normally it is necessary to modify some of the standard symbols in
preparation for linking with the RISC iX C library; this option
suppresses this pass. The post-processor is never run when the
compiler is built for cross-compilation.
File: gcc.info, Node: M88K Options, Next: RS/6000 and PowerPC Options, Prev: ARM Options, Up: Submodel Options
M88K Options
------------
These `-m' options are defined for Motorola 88k architectures:
`-m88000'
Generate code that works well