libtool
[Top][All Lists]
Advanced

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

Re: PIE support (was: 1.5.18: suppressing non-C language checks / pass f


From: Mike Frysinger
Subject: Re: PIE support (was: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode)
Date: Wed, 30 Nov 2005 18:39:54 +0000
User-agent: Mutt/1.5.8i

On Wed, Nov 30, 2005 at 06:10:30PM +0000, Paul Jakma wrote:
> On Tue, 29 Nov 2005, Ralf Wildenhues wrote:
> 
> >This seems to me the superior solution.  Thus, let's kill the 
> >--with-pic idea, too.  It won't get us over main.o 
> >compiled-without-libtool and neither one of -fpic or -fpie in 
> >CFLAGS anyway.  And I can't see why it should be more useful to 
> >have two PIC objects rather than one PIC and one PIE object.
> 
> I don't know, but PIE and PIC don't compile to same thing AFAICT. I 
> don't know the significance of that though.

PIE and PIC arent the same thing

-fPIC is for creating position independent code for shared objects
while -fPIE is for creating position independent code for executables
-mike




reply via email to

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