[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to save bytecode using LuaJIT-2.0.0-beta8?
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 26 Jun 2011 17:18:47 +0200
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.