This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris 2.7 and 64-bit compiling
Date: Fri, 09 Apr 1999 18:45:14 -0400
From: Roger Fujii <rmf@unixbox.lookhere.com>
Who's responsible for this (the solaris64 stuff) right now anyway?
I'm supposed to be but I've been overloaded the past several months.
The last time I looked, it wasn't too clear what the mechanism to
get 64 bit stuff + 32 bit stuff working without staying something
like egcs -b sparcv9-sun-solaris2.7. How does the MIPS stuff work?
If you have the mainline development egcs, and you have a real 64-bit
Solaris7 install (by default Solaris will not install 64-bits on
several older UltraSparcs due to hardware bugs, unless you tell the
installation otherwise).
Given that, an egcs bootstrap should be trying to build for the
sparcv9-sun-solaris2.7 host/target combo. It would start to go when
using the sunpro tools to build the first stage. The only other
configuration that was used/tested was to cross to sparc64-linux from
sparc-linux using egcs to build it and using:
"-DHOST_BITS_PER_WIDE_INT=64 -DHOST_WIDE_INT='long long'"
add into the CFLAGS. egcs-1.1.2 on a 32-bit sparc host will
miscompile it unfortunately due to a jump bug that is triggered easily
by long long usage on 32-bit sparc targets.
I really doubt 64-bit sparc will be a supported target for the
upcoming release because it still requires 2 months of solid full time
work to finish it up, and even if I had all that time starting at this
moment, it would be far beyond the planned code freeze.
Yes, I know it all sounds hopeless, but much of this is outside my
control at the moment.
Later,
David S. Miller
davem@redhat.com