[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.1.2-rc3 now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 26 Mar 2007 21:53:25 -0300
One thing that I'd like to fix before the freeze is etc/luavs.bat,
which currently does not build luac.exe. Here is its current contents:
cd src
cl /O2 /W3 /c /DLUA_BUILD_AS_DLL l*.c
del lua.obj luac.obj
link /DLL /out:lua51.dll l*.obj
cl /O2 /W3 /c /DLUA_BUILD_AS_DLL lua.c
link /out:lua.exe lua.obj lua51.lib
cd ..
Would the version below work? (Sorry, I don't have access to Visual Studio.)
cd src
cl /O2 /W3 /c /DLUA_BUILD_AS_DLL l*.c
del lua.obj luac.obj
link /DLL /out:lua51.dll l*.obj
cl /O2 /W3 /c /DLUA_BUILD_AS_DLL lua.c
link /out:lua.exe lua.obj lua51.lib
+ cl /O2 /W3 /c luac.c print.c
+ link /out:luac.exe luac.obj print.obj lua51.lib
cd ..
(I have naively removed /DLUA_BUILD_AS_DLL from the luac compilation line.)
If not, is there a simple fix?
Thanks.
--lhf