On May 28, 2004, Szombathelyi GyÃrgy <[EMAIL PROTECTED]> wrote:

> AFAIK it's possible to link in libdep to libfoo if libdep is static

Depends on the platform.  Some combinations of OSs, ABIs and hardware
architectures don't allow non-PIC in shared libraries.  Yes, several
of the platforms that don't support this are GNU/Linux ports.

Try this on x86_64-linux-gnu, for example.  It won't work, unless you
somehow arrange for libdep.o to not contain any relocations that
aren't PIC.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   [EMAIL PROTECTED], gcc.gnu.org}
Free Software Evangelist  [EMAIL PROTECTED], gnu.org}


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to