This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compiling current cvs sparcv9-solaris-2


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!

Attachment: msg01413/pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]