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 19:21:36 +0100
- Subject: RE: Problems building gcc-3.1.1 on 32-bit sparc-sun-solaris2.7
Damien Kick wrote:
The g++ -v output all looks fairly normal; I get very similar here.
> /usr/test/awo/user_work/kick/sparc-sun-solaris2.7-32/lib/sparcv9
> libgcc_s.so@ libgcc_s.so.1
:
> What I don't understand is why 'g++' is still apparently looking for
> 64-bit libraries even though I've told 'configure' to
> '--disable-multilib'.
There should be 32-bit libgcc_s.so in
/usr/test/awo/user_work/kick/sparc-sun-solaris2.7-32/lib
If there is, you may need to add this to your LD_LIBRARY_PATH
environment.
However, I'm quite confused about how the sparcv9 version got built! It
may just be a mis-install; you could try running 'file' on
lib/sparcv9/libgcc_s.so; if it's actually 32-bit, move it into the lib
directory. Otherwise, go to the gcc subdirectory of your build tree and
try 'make libgcc_s.so' to hopefully build the 32-bit version.
There might be a makefile bug; I'll have a quick investigate here.
Rup.