This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc3.1 on Solaris 2.7 -- Getting sparcv9 attempts but don't want this
- From: "Peter Sterpe" <psterpe at curaspan dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 22 May 2002 16:05:47 -0400
- Subject: gcc3.1 on Solaris 2.7 -- Getting sparcv9 attempts but don't want this
Compiling gcc 3.1 on Sparc Solaris 2.7 (using gcc 2.8 compiler) gives these
errors:
ld: fatal: file /usr/lib/sparcv9/values-Xa.o: open failed: No such file
or directory
ld: fatal: file /usr/lib/libc.so: wrong ELF class: ELFCLASS32
I believe this is a 32-bit/64-bit mismatch problem. The thing is, I didn't
>want< sparcv9 and didn't try to get it. I gave no arguments to configure,
and it told me it was compiling for sparc-sun-solaris2.7.
Where did the sparcv9 come from and how do I configure things to produce
32-bit binaries?
Thanks.