3.0.1 & Solaris 8
Bruce Korb
bkorb@veritas.com
Wed Aug 8 08:59:00 GMT 2001
Hi Jakub,
Thanks for your input. However, ``-m64'' does not define __sparcv9
either. __sparcv9 is not in the specs for GCC 3.0. Using ``-m64''
and ``-mcpu=v9'' I get this:
> $ gcc -dM -E -mcpu=v9 x.c | sort > CPUV9
> $ gcc -dM -E -m64 x.c | sort > M64
> $ diff CPUV9 M64
> 1d0
> < #define __GCC_NEW_VARARGS__ 1
> 15a15
> > #define __arch64__ 1
> 18d17
> < #define __sparc_v9__ 1
> $ gcc -dM -E -m64 -mcpu=v9 x.c | sort > M64CPUV9
> /u/bkorb
> $ diff M64*
> 17a18
> > #define __sparc_v9__ 1
I reiterate, __sparcv9 needs to be defined. :-)
BTW, Sun uses ``__sparcv9'' to specify a 64 bit environment.
More information about the Gcc
mailing list