This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Shared C++ libs on i386-pc-solaris2.5.1


  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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]