lua-users home
lua-l archive

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


> Roger.  So the 5.1.x luac will always generate (say) little-endian
> bytecode and any other platforms will need to cross-compile that
> bytecode (or the client platform requires the modified C code).?

luac will always generate native-endian bytecode. There is no cross-compiler
(yet). If you want clients to load bytecode of any endiannes, just build Lua
with the modified lundump.c that I posted. I'm sorry if I wasn't clear about
that before.
--lhf