[Top][All Lists]

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

Re: -DPIC - redundant?

From: Gary V. Vaughan
Subject: Re: -DPIC - redundant?
Date: Wed, 26 Jan 2005 13:10:39 +0000
User-agent: Mozilla Thunderbird 0.9 (X11/20041103)

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.

Gary V. Vaughan      ())_.  address@hidden,}
Research Scientist   ( '/
GNU Hacker           / )=
Technical Author   `(_~)_

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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