On 29 May 2000, Alexandre Oliva wrote:

> On May 29, 2000, Paul Berrevoets <[EMAIL PROTECTED]> wrote:
> 
> > In general, this statement is false. The Solaris (>=2.5) linker _does_
> > allow non-PIC code in shared libraries.
> 
> Ok.  The problem is that gcc links shared libraries with `-z text',
> unless `-mimpure-text' is given.  Maybe that's the flag libtool should
> use when it finds libstdc++ is not a shared library.

Perhaps, but I would prefer an option to either drop the static libraries
OR get the linker to accept them.  Linking static libraries into shared
libraries could also cause problems when two different shared libraries
have slightly different versions of the same static library.

-- 
Kevin Atkinson
[EMAIL PROTECTED]
http://metalab.unc.edu/kevina/

Reply via email to