Copile and run Lua on both platforms with the same word size, either
both under 32 bit or both under 64 bit.
If that is not possble, you can modify luaconf.h to use a predefined
word size instead of the system word size.
This is under the assumtion that both processors have the same
endianess.
--
Thomas