[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PIC flags in mode=link
From: |
Christopher Hulbert |
Subject: |
PIC flags in mode=link |
Date: |
Tue, 6 Dec 2005 04:27:39 -0500 |
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.
Solutions?
- PIC flags in mode=link,
Christopher Hulbert <=