Left here for archival purposes.

User avatar
By j3graham
#8218 I've been trying to use compiled lua scripts using the luac.cross compiler from eLua.

This works with compiled files up to 1020 bytes, but a file of 1024 bytes causes a restart.

The attached file contains two scripts: t1020.lua and t1024.lua and the compiled versions of them. t1020.lc loads fine using require("t1020"), but t1024.lc causes a restart.

The scripts are compiled using "luac.cross -s -cci 32 -cce little -ccn int 32"

(See viewtopic.php?f=24&t=1305 for info on what I did to compile the scripts)
Attachments
(1.22 KiB) Downloaded 210 times