This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Shared C++ libs on i386-pc-solaris2.5.1
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: Shared C++ libs on i386-pc-solaris2.5.1
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Thu, 04 Sep 1997 17:54:53 -0600
- cc: James Macnicol <J dot Macnicol at student dot anu dot edu dot au>, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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