Build failure with 3.1 CVS on sparc-sun-solaris2.8

Jeff Sturm jsturm@one-point.com
Wed Feb 6 11:37:00 GMT 2002


On Wed, 6 Feb 2002, Kenneth Lareau wrote:
> ../configure --with-cpu=ultrasparc --prefix=/usr/local/gcc

You cannot bootstrap the 64-bit compiler with a 32-bit compiler.
The GCC build framework doesn't currently distinguish between build
libraries and host libraries, so effectively it requires (build == host)
for a bootstrap.

If you omit --with-cpu=ultrasparc the bootstrap will be
straightforward, resulting in a compiler that can run on a 32-bit host but
still generate executables for 64-bit ultrasparc.

Bootstrapping in two steps as you say is one workaround, building a cross
compiler is another.

Jeff



More information about the Gcc mailing list