c++ - Compile Lua 5.3 Mingw64 MSys2 -


i have installed mingw64 , msys2 official site (http://mingw-w64.org/doku.php) following instructions. added bin folders win7 path var. seems work. run command msys2:

gcc --version 

and works.

now i´m trying install lua 5.3 (lua-5.3.1.tar.gz lua.org). decompressed file using winrar. msys2, go lua directory

cd /e/programming/libs/lua-5.3.1/ 

then run make command

mingw32-make mingw 

but doesn´t work. got message...

cd src && e:/programming/mingw64/mingw64/bin/mingw32-make mingw mingw32-make[1]: entering directory 'e:/programming/libs/lua-5.3.1/src' e:/programming/mingw64/mingw64/bin/mingw32-make "lua_a=lua53.dll" "lua_t=lua.exe" \ "ar=gcc -std=gnu99 -shared -o" "ranlib=strip --strip-unneeded" \ "syscflags=-dlua_build_as_dll" "syslibs=" "sysldflags=-s" lua.exe e:\programming\mingw64\mingw64\bin\mingw32-make: invalid option -- = e:\programming\mingw64\mingw64\bin\mingw32-make: invalid option -- g e:\programming\mingw64\mingw64\bin\mingw32-make: invalid option -- u e:\programming\mingw64\mingw64\bin\mingw32-make: invalid option -- 9 e:\programming\mingw64\mingw64\bin\mingw32-make: invalid option -- 9 e:\programming\mingw64\mingw64\bin\mingw32-make: invalid option -- e:\programming\mingw64\mingw64\bin\mingw32-make: unrecognized option '--strip-unneeded syscflags=-dlua_build_as_dll syslibs= sysldflags=-s lua.exe' usage: mingw32-make [options] [target] ...  program built x86_64-w64-mingw32 report bugs <bug-make@gnu.org> makefile:116: recipe target 'mingw' failed mingw32-make[1]: *** [mingw] error 2 mingw32-make[1]: leaving directory 'e:/programming/libs/lua-5.3.1/src' makefile:55: recipe target 'mingw' failed mingw32-make: *** [mingw] error 2 

i dont want download lua binaries, want compile myself

how can fix this?

i having same issue. looked @ page:

http://www.thijsschreijer.nl/blog/?p=863

what saw did not have c:\mingw\msys\1.0\bin in path variable. added after mingw\bin path , worked fine then.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -