8.3 SPARC options
On the SPARC range of processors the -mcpu=CPU
option
generates processor-specific code. The valid options for
CPU
are v7
, v8
(SuperSPARC),
Sparclite
, Sparclet
and v9
(UltraSPARC). Code
produced with a specific -mcpu
option will not run on other
processors in the SPARC family, except where supported by the
backwards-compatibility of the processor itself.
On 64-bit UltraSPARC systems the options -m32
and -m64
control code generation for 32-bit or 64-bit environments. The 32-bit
environment selected by -m32
uses int
, long
and
pointer types with a size of 32 bits. The 64-bit environment selected by
-m64
uses a 32-bit int
type and 64-bit long
and
pointer types.