This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap failure in real.h for sparc64-unknown-linux-gnu with trunk
- From: Richard Henderson <rth at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 28 Sep 2002 13:26:19 -0700
- Subject: Re: bootstrap failure in real.h for sparc64-unknown-linux-gnu with trunk
- References: <1033232786.2067.10.camel@dhcppc2>
On Sat, Sep 28, 2002 at 10:06:24AM -0700, Anthony Green wrote:
> The guess that's made for REAL_WIDTH appears to be wrong because my
> system compiler and stage1 compiler don't agree on sizeof(long). The
> system gcc defaults to 32-bit longs, but I'm building a compiler which
> defaults to 64-bit longs. The stage1 compiler ends up running with
> SIZEOF_LONG == 4, when SIZEOF_LONG really should be 8.
>
> Any suggestions?
Cross-compile first, then build sp64 native. I disbelieve
your proposed scheme would have worked anyway, since libiberty
would have been compiled for sp32.
r~