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.
精彩评论