[关闭]
@romangol 2016-10-23T11:44:49.000000Z 字数 240 阅读 1380

为DLL生成编译用的lib文件

practice dev


0 下载 pexports-0.47-mingw32-bin.tar (https://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/pexports-0.47/

1 在命令行执行:

pexports xxx.dll > xxx.def

2 在命令行执行(lib.exe是VC自带的工具):

lib /def:xxx.def /machine:i386 /out:xxx.lib
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注