This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0.1 & Solaris 8
- To: Jakub Jelinek <jakub at redhat dot com>, gcc <gcc at gcc dot gnu dot org>
- Subject: Re: 3.0.1 & Solaris 8
- From: Bruce Korb <bkorb at veritas dot com>
- Date: Wed, 08 Aug 2001 08:58:26 -0700
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.