[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PIC flags in mode=link
From: |
Ralf Wildenhues |
Subject: |
Re: PIC flags in mode=link |
Date: |
Tue, 6 Dec 2005 14:51:58 +0100 |
User-agent: |
Mutt/1.5.11 |
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