开发者

Finding undefined symbols in windows static lib

Is there any way to find out the list of undefined symbols in windows static library compiled using VC6?

I know the nm command w开发者_如何学Goill list all the symbols in linux and symbols with a tag of "U" can be identified as undefined. But, how to do it Windows?


You can use dumpbin.exe /symbols on the .lib file. That lists all the symbols used, the external ones have the "External" prefix.


If you install GNU binutils in WSL / MSYS2 / Cygwin you have nm and it understands the object file format of VC6 or later.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜