开发者

Finding undefined symbols in windows static lib

开发者 https://www.devze.com 2022-12-26 12:12 出处:网络
Is there any way to find out the list of undefined symbols in windows static library compiled using VC6?

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

精彩评论

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