lua-users home
lua-l archive

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


Is it possible to run compiled Lua on an architecture other than that which it was compiled on? For instance, can I compile a lua script to bytecode on an x86 platform and run the bytecode on an ARM platform?

I'm trying that now on a very simple script, and get the error:

   lua: unknown number format in test.byt

when trying to run it. This happens when compiling on x86 and trying to run on ARM as well as compiling on ARM and trying to run on x86. All running Linux, btw.