Re: Support for MinGW x64?

  • From: Vincent Torri <vincent.torri@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 31 Aug 2018 13:23:39 +0200

On Fri, Aug 31, 2018 at 12:02 AM Shmuel Zeigerman <shmuz@xxxxxxxxxx> wrote:


On 31/08/2018 00:50, Keith Mitchell wrote:

I’ve noticed that MinGW x64 is not on the compatibility matrix and
that there where some discussions about it back in 2011.

I’m wondering if it would be possible to get build support added for
it now for LuaJIT?




We have been using MinGW x64 LuaJIT 2.0 and 2.1 builds for 5 years
already and have no issues with it.
We use the Makefile included in the LuaJIT distribution, without
modifications.

I have sent a mail yesterday about luajit and mingw-w64 : Makefile
does not create the import library.

It is sufficient to add to TARGET_XSHLDFLAGS -Wl,--out-implib,liblua.dll.a

this will create liblua.dll.a import library.

it would also be nice if the installation could be done like UNIX when
MSYS2 is used or when cross compilation is done (msys2 is kind of a
POSIX emulation). The DLL should be put in the bin directory though

Vincent Torri

Other related posts: