This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 3.0.1 & Solaris 8


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]