lua-users home
lua-l archive

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


On Wed, Dec 17, 2014 at 01:06:47 -0500, Jay Carlson wrote:
> Eye roll. -fPIC is always safe on SVR4 descendents.

It's also almost always slower than non PIC code on all but x86_32.  Unless
you're building a shared library or a position independent executable, don't
use -fPIC.

Also, for reference, -fpic and -fPIC have different meanings on at least three
architectures so be careful with which you mean and when.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 3CCE BABE 206C 3B69