compiling current cvs sparcv9-solaris-2
Alexander Poquet
atpoquet@ucdavis.edu
Tue Jan 22 13:22:00 GMT 2002
Hey folks,
I'm running Solaris 8 on an Ultra10 (sun4u) and I decided to cvs co the current
gcc source to build a 64 bit compiler and try compiling some stuff to test it
out.
It bootstraps fine but produces a 32 bit binary; wanting to produce a 64 bit
binary, I decided to rebuild the gcc source using the gcc I'd just built.
First I tried compiling it with CC="gcc -m64" but got this error some ways
into the configure:
checking size of char... configure: error: can not run test program while cross compiling
Configure in /usr/test/gcc-sparcv9-obj/fastjar failed, exiting.
I then cleaned up the directory and tried again, this time without resetting
CC to include -m64, and got the same error. What gives? This is my first
time doing something like this, am I making a stupid mistake?
atp@mithras-2.03:/usr/test/gcc-v9/bin$ ./gcc -v
Reading specs from ./../lib/gcc-lib/sparcv9-sun-solaris2/3.1/specs
Configured with: ../gcc/configure --prefix=/usr/test/gcc-v9 sparcv9-sun-solaris2
Thread model: posix
gcc version 3.1 20020121 (experimental)
hope you can help me...
--
Alexander Poquet | We leave the obvious generalizations to the
atpoquet@ucdavis.edu | reader. -- Israel Herstein
Use of PGP preferable in reply | Use Linux!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20020122/ed63e2d2/attachment.sig>
More information about the Gcc
mailing list