linker error with new linker
Diego 'Flameeyes' Pettenò
flameeyes@gentoo.org
Wed Jul 12 16:46:00 GMT 2006
On Wednesday 12 July 2006 18:27, John Calcote wrote:
> However, the real question was: Does anyone know if there's a
> "standard" way of dealing with the "linking shared libraries from static
> libraries in autotools" issue?
You have to build them with -fPIC, or simply use libtool, declare them as
noinst_LTLIBRARIES, and libtool will take care of it linking them entirely
inside the shared libraries using the PIC version.
Some packages ships with a libfoo_p.a archive built with PIC, too.
--
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060712/48aad71c/attachment.sig>
More information about the Binutils
mailing list