Hi Christopher,

* Christopher Hulbert wrote on Tue, Dec 06, 2005 at 10:27:39AM CET:
> Is there a reason that libtool doesn't pass PIC flags during the link
> of shared libraries?  And if it's passed as -fpic to the libtool
> command, libtool strips it out.  The way to get it through is use
> -Wc,-fpic in my LDFLAGS, but then pgcc complains that -f is invalid
> without -shared when building programs.

As of 1.5.18, libtool passes it to pgcc.

> Solutions?

Upgrade to 1.5.20.

Cheers,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to