This is the mail archive of the gcc-help@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]

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.


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