lua-users home
lua-l archive

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


On Wed, May 06, 2015 at 06:50:49AM -0300, Luiz Henrique de Figueiredo wrote:
> > typed 'make', was told by the compiler that I should recompile
> > with -fPIC (this happens with almost all the software I build and
> > I don't reason why, I just do)
> 
> Apparently this is needed for 64-bit Linux.

Strictly speaking, -fPIC is needed for any shared library.  It just
happens that there's a happy coincidence that means you can often get
away without it on 32 bit x86.

B.