lua-users home
lua-l archive

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

Yay! That worked. Thanks Joao. I'll put those binaries out on the web.

Also, Lua OS (with one or two tweaks) now works with LuaJIT!

Except for the debug hooks; instructions end up being counted for the
wrong sandbox for some reason. And the endless loop protection is, by
definition, incomplete, as LuaJIT cannot protect against that.

Other than that: Good job, Mike Pall - I'm very impressed with LuaJIT.

Now all we have to do is convince him to publish binaries from now
on... it would really help LuaJIT's acceptance out there.


On Sat, Aug 27, 2011 at 10:09 PM, joao lobato <> wrote:
> On 8/26/11, Stefan Reich <> wrote:
>> Hey folks.
>> Q: Can I somehow make LuaSocket work with LuaJIT? I'm having some
>> trouble there. The lack of binaries (I will never understand that) is
>> making stuff difficult...
>> I built LuaJIT under mingw
>> ( and then
>> put in LuaSocket (the binary from
>> I copied the lua, socket and mime dirs to the LuaJIT dir.
>> Then, when I start LuaJIT and say require "socket" - it just crashes.
>> Does LuaSocket have to be built with mingw for this to work? Why are
>> there no binaries for these things? Uaaarrgh. :|
>> Stefan
> I jumped through those hoops recently. Attached is the makefile I
> used; I just changed one I found through Google. Copy it to
> luasocket-2.0.2/src and run make-mingw32 in the command line in that
> directory.
> You'll need to edit the paths in the variables CC, CINC, LUAINC and LUADLL.