lua-users home
lua-l archive

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

Hi all,

I get an architecture not supported error when trying to compile LuaJIT (dynasm) now that I have upgraded to Mac OS X 10.6. The LuaJIT binary I compiled before upgrading still works, but I'd like to stay up-to-date. Any idea how I go about fixing this? I'm guessing it might be as simple as changing some #defines or something like that. Thanks!

Have you tried adding either -m32 or -m64 to the compiler command line? I got a similar problem, and I think it was because I was building a 64 bit module and trying to link it to a 32 bit lua (a lua that I still had from before the upgrade to SL).

I suspect that if you rebuild everything, you'll end up with all 64 bit and you'll be ok, but Thomas has just pointed out that LuaJIT is 32 bit only, so perhaps you want to keep everything 32 bit.