lua-users home
lua-l archive

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


But won't that try to link luac.exe with lua51.dll? That does not work;
luac.exe has to be statically linked with lua51.lib.

No, it creates liblua.a and links luac.exe statically; the separate
make invocation uses the defaults for LUA_A and AR.

Note also, if you actually have the mingw build tools running on
Cygwin and you want a mingw-targeted build, you must use the correct
compiler/linker:

make mingw CC='gcc -mno-cygwin'

For a Cygwin-targeted build, ''make posix'' or ''make linux'' both
seem to work just fine.

    -Mark