This is the mail archive of the
mailing list for the GCC project.
3.0.1 & Solaris 8
- To: gcc <gcc at gcc dot gnu dot org>
- Subject: 3.0.1 & Solaris 8
- From: Bruce Korb <bkorb at veritas dot com>
- Date: Tue, 07 Aug 2001 14:47:27 -0700
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.