3.0.1 & Solaris 8
Bruce Korb
bkorb@veritas.com
Tue Aug 7 14:47:00 GMT 2001
I was looking at GCC on Solaris, when I just noticed something.
gcc -mcpu=v9 causes __sparc_v9__ to be defined, but not __sparcv9.
I'm sure somewhere in the archives this must have been discussed,
but it is clearly wrong. _all_ the system headers depend upon
__sparcv9 being defined for 64 bit land. Maybe it isn't ready for
prime time yet, but then I would think you would just suppress the
"-mcpu=v9" thing instead of the define. It seems to me we should
add __sparcv9 to the specs for Solaris8, or drop the mcpu.
More information about the Gcc
mailing list