[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT + LuaSocket on Windows
- From: Stefan Reich <stefan.reich.maker.of.eye@...>
- Date: Thu, 1 Sep 2011 16:35:00 +0200
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 <firstname.lastname@example.org> wrote:
> On 8/26/11, Stefan Reich <email@example.com> 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
>> (http://sourceforge.net/p/safelua/wiki/LuaJIT%20binaries/) 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. :|
> 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
> You'll need to edit the paths in the variables CC, CINC, LUAINC and LUADLL.