lua-users home
lua-l archive

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


Couldn't that last link just be:

link /out:luac.exe l*.obj print.obj

Before it was specifying luac.obj twice.

CR


On 3/26/07, David Burgess <dburgess@gmail.com> wrote:
No it wont work but this does


cl /MD /O2 /W3 /c /DLUA_BUILD_AS_DLL l*.c
del lua.obj luac.obj
link /DLL /out:lua51.dll l*.obj
cl /MD /O2 /W3 /c /DLUA_BUILD_AS_DLL lua.c
link /out:lua.exe lua.obj lua51.lib

cl /MT /O2 /W3 /c l*.c print.c
del lua.obj
link /out:luac.exe luac.obj print.obj l*.obj

The last link produces one warning which can be ignored.

db