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]

RE: Problems building gcc-3.1.1 on 32-bit sparc-sun-solaris2.7


Damien Kick wrote:

> Why is 'configure' assuming that I want 64-bit?  Is there an option
> that I can pass to 'configure' to explicitly request '-m32'?

By default, GCC for sparc-solaris2.7+ will support both 32-bit and
64-bit builds.

The problem is actually that you don't have /lib/sparcv9/values-*.o
installed; it's failing a compile-confidence-check whilst configuring a
64-bit build of libiberty (which it needs to build 64-bit versions of
the runtime libraries). You have two options:

    1. Install the 64-bit object files from package SUNWarcx. You may
then
       be able to build a compiler that targets both 64-bit and 32-bit
       builds on your 32-bit system. (You might also need SUNWcslx.)

    2. Prevent it building 64-bit runtime libraries by adding
       '--disable-multilib' to your configure line.

Good luck,
Rup.


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