On Tue, Apr 23, 2002 at 10:06:41AM +0200, Richard Levitte - VMS Whacker wrote: > In message <[EMAIL PROTECTED]> on Mon, 22 Apr 2002 22:38:47 -0700, >Aleksey Sanin <[EMAIL PROTECTED]> said: > > aleksey> IMHO it's bad idea to use gcc 3.0 on Solaris now. I had very > aleksey> bad expirience with it in the past. If it is possible, try > aleksey> gcc 2.95.3. > > Is that just on Solaris, or a recommendation to avoid gcc 3 in > general?
One thing to be careful about when using gcc 3 is whether it was configured with a shared libgcc or not: for instance, the Solaris binary packages of gcc 3 from sunfreeware.com do use a shared libgcc (as it's the default), which introduces a dependency of shared libraries produced by "gcc -shared" on the shared libgcc. So you have to set LD_LIBRARY_PATH or LD_RUN_PATH to $prefix/lib where you installed gcc, if you want the library to load, and they'll never work on another Solaris machine unless you copy over the libgcc_s.so too. gcc 3 configured with --disable-shared doesn't suffer from this problem. joe ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]