lua-users home
lua-l archive

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


* Jeff Pohlmeyer:

> On Sat, Feb 27, 2010 at 1:58 PM, Hisham wrote:
>
>> Does anyone have anything against LuaRocks adding -fPIC to CFLAGS on
>> every architecture?
>
>
> I have no idea about any of this stuff, but I did find this page:
>
>   http://lua-users.org/wiki/BuildingModules
>
> It says:
>
> "Avoid -fPIC since it comes with a big performance penalty on some
> RISC architectures (Sparc in particular)."

It's confusing -fpic and -fPIC, and -fpic doesn't really work anymore
on SPARC (8K is tiny).