Solaris 9, GCC 4.1.1 and GCC 3.3.5 ... --disable-shared at build time?

Paul Brook paul@codesourcery.com
Tue Oct 31 00:55:00 GMT 2006


> 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



More information about the Gcc mailing list