[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-DPIC - redundant?

From: Kevin F. Quinn
Subject: -DPIC - redundant?
Date: Tue, 25 Jan 2005 23:18:41 +0100

Apologies if this is a stupid question, but please could someone explain to me 
why libtool sets '-DPIC' for shared libraries, while gcc reliably defines 
'__PIC__' when it generates PIC code?  Setting '-DPIC' encourages people to do 
'#ifdef PIC' when surely '#ifdef __PIC__' would be more reliable.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]