Shared C++ libs on i386-pc-solaris2.5.1
Jeffrey A Law
law@hurl.cygnus.com
Thu Sep 4 16:55:00 GMT 1997
In message < 199709042205.PAA24609@cygnus.com >you write:
> Looks like this is a bug in the gcc x86/solaris support. The shared library
> support is not completely correct (a common problem). I do not have access
> to such a system, so I can't be sure what the correct fix is. However, just
> comparing against the sparc/solaris support, I am guessing that libgcc.a was
> not compiled PIC.
>
> Does this patch solve your problem?
>
> Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
>
> * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
I'm pretty sure this is the right fix... Even if some problems remain.
I went ahead and installed it.
jeff
More information about the Gcc
mailing list