Re: -DPIC - redundant?

2005-01-27 Thread Kevin F. Quinn
Ralf Wildenhues ([EMAIL PROTECTED]) wrote: > (It'd be great if you could enable your mailer to wrap long text lines.) > > * Kevin F. Quinn wrote on Thu, Jan 27, 2005 at 09:18:57AM CET: > > Thanks people; I understand (now) that libtool supports many targets, > > each with their own compilers. I g

Re: -DPIC - redundant?

2005-01-27 Thread Ralf Wildenhues
Hi Kevin, (It'd be great if you could enable your mailer to wrap long text lines.) * Kevin F. Quinn wrote on Thu, Jan 27, 2005 at 09:18:57AM CET: > Thanks people; I understand (now) that libtool supports many targets, > each with their own compilers. I guess that means the question > becomes, wh

Re: -DPIC - redundant?

2005-01-27 Thread Kevin F. Quinn
Thanks people; I understand (now) that libtool supports many targets, each with their own compilers. I guess that means the question becomes, why set -DPIC on targets that use gcc, where that compiler defines __PIC__ if it's generating PIC code (at least since gcc 2.8.1 to my knowledge - I don'

Re: -DPIC - redundant?

2005-01-26 Thread Ralf Corsepius
On Wed, 2005-01-26 at 08:21 -0600, Bob Friesenhahn wrote: > On Wed, 26 Jan 2005, Gary V. Vaughan wrote: > > > 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 d

Re: -DPIC - redundant?

2005-01-26 Thread Bob Friesenhahn
On Wed, 26 Jan 2005, Gary V. Vaughan wrote: 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 d

Re: -DPIC - redundant?

2005-01-26 Thread Gary V. Vaughan
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 _

-DPIC - redundant?

2005-01-25 Thread Kevin F. Quinn
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