This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris 9, GCC 4.1.1 and GCC 3.3.5 ... --disable-shared at build time?
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Jeff Blaine <jblaine at mitre dot org>
- Date: Tue, 31 Oct 2006 00:14:26 +0000
- Subject: Re: Solaris 9, GCC 4.1.1 and GCC 3.3.5 ... --disable-shared at build time?
- References: <45469276.8050107@mitre.org>
> So... could someone elaborate on what it is I am doing that
> is so wrong? What is the successful recipe for using GCC
> 3.3.5 + 4.1.1 and/or binutils under Solaris?
libgcc_s.so is backwards compatible. The 3.3 compiled code should work fine
with the 4.1 libgcc.
It is not forwards compatible. ie. you should make sure the newest libgcc is
installed on the system.
If you want to use new gcc without updating your system libgcc you'll have to
use rpath or similar tricks to make sure the correct copy is used.
Paul