lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Jun 26, 2011 at 4:41 PM, ss s <akinosun@gmail.com> wrote:
> I don't know why? anyboby who can tell me how to solve the problem? is there
> some compile options should be checked?

In the LuaJIT source distribution, there is a folder called 'libs'
which contain necessary Lua files. Rename this as 'jit'.

Make a folder in the same directory as luajit.exe and call it 'lua';
copy the 'jit' folder into 'lua'.

The 'lua' folder will be where LuaJIT will initially look for Lua
packages;  now it contains the jit package and 'luajit -b' will work
and show you how to compile files to bytecode.

steve d.