|
Luiz Henrique de Figueiredo wrote:
It doesn't appear to be that trivial.I think you meant that converting 5.0.2 bytecode to 5.1 bytecode is not trivial. I agree. I was talking about implementing cross-compiling for a fixed Lua version. (The scheme I've outlined already applies to 5.0.) --lhf
Looking at earlier messages, I realise that there are two discussion threads going on here: 5.0.2 -> 5.1 and 5.1 -> 5.1, and I'm probably mixing them up. My apologies.
Cross-compiling for 5.1 -> 5.1 is already done (as is 5.0.2 -> 5.0.2). ChunkSpy (on LuaForge) can rewrite 5.1wk5 binary chunks, including changing endianness and number data type. I will update the script to 5.1wk6 shortly.
-- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia