This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Problems building gcc-3.1.1 on 32-bit sparc-sun-solaris2.7
- From: "Rupert Wood" <me at rupey dot net>
- To: "'Kick Damien-DKICK1'" <DKICK1 at motorola dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 31 Jul 2002 09:20:35 +0100
- Subject: 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.