Vikram Ambrose <[EMAIL PROTECTED]> writes:

> Andreas Schwab wrote:
>> Vikram Ambrose <[EMAIL PROTECTED]> writes:
>>
>>   
>>> Can someone suggest a way I can produce both a static and shared library
>>> with libtool/autoconf/automake that are compiled with different CPPFLAGS?
>>>     
>>
>> You can use #ifdef PIC.
>>
>> Andreas.
>>
>>   
> I looked up fpic and fPIC in the gcc man page. I dont understand how this
> helps. Could you elaborate?

libtool defines it when compiling the pic object.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

Reply via email to