[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: compiling lua with mingw
From: "William Knight" <william.knight () gmail ! com>
Date: 2007-06-28 19:52:35
Message-ID: 938845890706281252w539186fera67496b7d6c9b77e () mail ! gmail ! com
[Download RAW message or body]
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
>
[Attachment #3 (text/html)]
You can build a static library by changing the commands in the mingw target in the \
src/Makefile:<br><br>mingw:<br> $(MAKE) \
"LUA_A=liblua51.a" "LUA_T=lua.exe" \<br> \
"AR=ar cr" "RANLIB=strip --strip-unneeded" \ \
<br> "MYLIBS=" "MYLDFLAGS=-s" \
lua.exe<br><br><br><br><div><span class="gmail_quote">On 6/28/07, <b \
class="gmail_sendername">Roger D Vargas</b> <<a \
href="mailto:luo_hei@yahoo.es">luo_hei@yahoo.es</a> > wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">I have tried to compile lua 5.1 with Mingw.<br>I do \
mingw32-make mingw<br> the comilation ends without errors, a lua51.dll is generated, \
but not a<br>library file. How can I get the library for linking with \
gcc?<br><br><br>--<br><a href="http://dsgp.blogspot.com">http://dsgp.blogspot.com</a> \
| Linux, programación, juegos <br>Have no place I can be since I found \
Serenity<br>But you can't take the sky from \
me<br><br><br>______________________________________________<br>LLama Gratis a \
cualquier PC del Mundo.<br>Llamadas a fijos y móviles desde 1 céntimo por minuto. \
<br><a href="http://es.voice.yahoo.com">http://es.voice.yahoo.com</a><br></blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic