Kevin F. Quinn wrote: > 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.
Libtool supports plenty more compilers than just gcc. Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool