[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua bytecodes and endian-ness
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 10 Jun 2006 20:23:28 -0300
> 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