Chapter 4. GCC Command Options
-maltivec
-mno-altivec
These switches enable or disable the use of built-in functions that allow access to the AltiVec
instruction set. You may also need to set
ABI enhancements.
-mabi=spe
Extend the current ABI with SPE ABI extensions. This does not change the default ABI, instead
it adds the SPE ABI extensions to the current ABI.
-mabi=no-spe
Disable Booke SPE ABI extensions for the current ABI.
-misel=
yes/no
-misel
This switch enables or disables the generation of ISEL instructions.
-mspe=
yes/no
-mspe
This switch enables or disables the generation of SPE simd instructions.
-mfloat-gprs=
yes/no
-mfloat-gprs
This switch enables or disables the generation of floating point operations on the general purpose
registers for architectures that support it. This option is currently only available on the MPC8540.
-mfull-toc
-mno-fp-in-toc
-mno-sum-in-toc
-mminimal-toc
Modify generation of the TOC (Table Of Contents), which is created for every executable file.
The
-mfull-toc
entry for each unique non-automatic variable reference in your program. GCC will also place
floating-point constants in the TOC. However, only 16,384 entries are available in the TOC.
If you receive a linker error message that saying you have overflowed the available TOC
space, you can reduce the amount of TOC space used with the
-mno-sum-in-toc
constants in the TOC and
of an address and a constant at run-time instead of putting that sum into the TOC. You may
specify one or both of these options. Each causes GCC to produce very slightly slower and
larger code at the expense of conserving TOC space.
If you still run out of space in the TOC even when you specify both of these options, spec-
ify
-mminimal-toc
file. When you specify this option, GCC will produce code that is slower and larger but which
uses extremely little TOC space. You may wish to use this option only on files that contain less
frequently executed code.
-maix64
-maix32
Enable 64-bit AIX ABI and calling convention: 64-bit pointers, 64-bit
infrastructure needed to support them. Specifying
option is selected by default. In that case, GCC will allocate at least one TOC
options.
-mno-fp-in-toc
-mno-sum-in-toc
instead. This option causes GCC to make only one TOC entry for every
to adjust the current ABI with AltiVec
-mabi=altivec
prevents GCC from putting floating-point
forces GCC to generate code to calculate the sum
-maix64
-mno-fp-in-toc
type, and the
long
implies
-mpowerpc64
95
and
and
Need help?
Do you have a question about the ENTERPRISE LINUX 4 and is the answer not in the manual?
Questions and answers