Discussion:
Building LuaJIT with MinGW-w64
Tomash Brechko
2014-09-25 12:47:39 UTC
Permalink
Hello!

http://luajit.org/install.html compatibility matrix doesn't list MinGW-w64
for x64/Windows. The reason was explained a while ago at
http://lua-users.org/lists/lua-l/2011-03/msg00383.html : mingw64 lacked the
support for Win64 exceptions.

However since version 3.0 mingw64 uses gcc 4.8 which has support for SEH on
w64. So can MinGW-w64 3.0+ now build LuaJIT, or are there some other
unresolved obstacles?
--
Tomash Brechko
Cosmin Apreutesei
2014-09-25 13:12:48 UTC
Permalink
I build luapower on x64 using this package without issues:

http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/seh/x64-4.8.1-release-posix-seh-rev5.7z

On Thu, Sep 25, 2014 at 3:47 PM, Tomash Brechko
Post by Tomash Brechko
Hello!
http://luajit.org/install.html compatibility matrix doesn't list MinGW-w64
for x64/Windows. The reason was explained a while ago at
http://lua-users.org/lists/lua-l/2011-03/msg00383.html : mingw64 lacked the
support for Win64 exceptions.
However since version 3.0 mingw64 uses gcc 4.8 which has support for SEH on
w64. So can MinGW-w64 3.0+ now build LuaJIT, or are there some other
unresolved obstacles?
--
Tomash Brechko
Szabó Antal
2014-09-25 13:31:57 UTC
Permalink
Hi,
Post by Cosmin Apreutesei
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/seh/x64-4.8.1-release-posix-seh-rev5.7z
I have built LuaJIT with mingw-w64 a few times too, and I didn't see any issues.

Also, I wanted to point out that the latest mingw-w64 packages are
hosted here, and are usually kept up-to-date (32 and 64 bits):
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/
Loading...