lua-users home
lua-l archive

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


You can build a static library by changing the commands in the mingw target in the src/Makefile:

mingw:
    $(MAKE) "LUA_A=liblua51.a" "LUA_T=lua.exe" \
    "AR=ar cr" "RANLIB=strip --strip-unneeded" \
    "MYLIBS=" "MYLDFLAGS=-s" lua.exe



On 6/28/07, Roger D Vargas <luo_hei@yahoo.es > wrote:
I have tried to compile lua 5.1 with Mingw.
I do mingw32-make mingw
the comilation ends without errors, a lua51.dll is generated, but not a
library file. How can I get the library for linking with gcc?


--
http://dsgp.blogspot.com | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can't take the sky from me


______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com