lua-users home
lua-l archive

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


Javier Guerra wrote:
> keep trying with LuaJIT, i also haven't been able to compile it, but
> that's because i use amd64, and LuaJIT is 32-bit only; so i would have
> to cross-compile it... still don't get all the compiler settings
> right.  (mike? any advices on how to do this?)

On Linux x64:

  make linux "CC=gcc -m32"

This assumes you have installed the 32 bit development packages,
too (includes and libraries). Check out the FAQ of your Linux
distribution for details.

With MSVC on Win64 (defaulting to x64 code):

Either create a 32 bit project in the IDE. Or in the MSVC Command
Line window run "vcvarsall x86" before starting the compile.

--Mike