I compiled lua on PC with luac
and run it on MIPS device. It shows lua: bad header in precompiled chunk
.
I searched for it and seems bytecode not portable.
How to crosscompile it?
I compiled lua on PC with luac
and run it on MIPS device. It shows lua: bad header in precompiled chunk
.
I searched for it and seems bytecode not portable.
How to crosscompile it?
Solved
Device`s lua was patched. In this case not portable. Compiled lua for PC with this patches - all works fine now.