lua-5.3.2.tar.gz 解开在 D:lua
c:program filesmicrosoft visual studio 10.0vcin>cd d:lua
c:program filesmicrosoft visual studio 10.0vcin>d:
d:lua>cd src
d:luasrc>cl /nologo /MD /O2 /W3 /c
/D_CRT_SECURE_NO_DEPRECATE /DLUA_BUILD_AS_DLL l*.c
lapi.c
lauxlib.c
lbaselib.c
lcode.c
ldblib.c
ldebug.c
ldo.c
ldump.c
lfunc.c
lgc.c
linit.c
liolib.c
llex.c
lmathlib.c
lmem.c
loadlib.c
lobject.c
lopcodes.c
loslib.c
lparser.c
正在生成代码...
正在编译...
lstate.c
lstring.c
lstrlib.c
ltable.c
ltablib.c
ltm.c
lua.c
luac.c
lundump.c
lvm.c
lzio.c
正在生成代码...
d:luasrc>del lua.obj luac.obj
d:luasrc>link /nologo /DLL /out:lua51.dll
l*.obj
正在创建库 lua51.lib 和对象
lua51.exp
d:luasrc>if exist lua51.dll.manifest mt /nologo -manifest lua51.dll.manifest -outputresource:lua51.dll;2
d:luasrc>cl /nologo /MD /O2 /W3 /c
/D_CRT_SECURE_NO_DEPRECATE /DLUA_BUILD_AS_DLL lua.c
lua.c
d:luasrc>link /nologo /out:lua.exe lua.obj lua51.lib
d:luasrc>if exist lua.exe.manifest mt /nologo -manifest lua.exe.manifest -outputresource:lua.exe
d:luasrc>cl /nologo /MD /O2 /W3 /c /D_CRT_SECURE_NO_DEPRECATE l*.c print.c
lapi.c
lauxlib.c
lbaselib.c
lcode.c
ldblib.c
ldebug.c
ldo.c
ldump.c
lfunc.c
lgc.c
linit.c
liolib.c
llex.c
lmathlib.c
lmem.c
loadlib.c
lobject.c
lopcodes.c
loslib.c
lparser.c
正在生成代码...
正在编译...
lstate.c
lstring.c
lstrlib.c
ltable.c
ltablib.c
ltm.c
lua.c
luac.c
lundump.c
lvm.c
lzio.c
print.c
正在生成代码...
d:luasrc>del lua.obj linit.obj lbaselib.obj ldblib.obj liolib.obj lmathlib.obj loslib.obj ltablib.obj lstrlib.obj loadlib.obj
d:luasrc>link /nologo /out:luac.exe *.obj
d:luasrc>if exist luac.exe.manifest mt /nologo -manifest luac.exe.manifest-outputresource:luac.exe
d:luasrc>del *.obj *.manifest
d:luasrc>cd ..
d:lua>
3.结果如下