I just compiled LuaJIT with devkitARM, a toolchain for making homebrew Nintendo DS ROMs. The steps are:
- Have devkitARM set up.
- Get the LuaJIT source code.
- Tweak src/Makefile.
- Build LuaJIT.
- Copy over the LuaJIT headers and library.
- Use LuaJIT.
The following notes are really hacky; follow them at your own risk.
Read more »