views:

1049

answers:

1

I've long used cygwin's nm command for all my .lib symbol debugging needs, but recently I thought about referring to it in a SO answer and realized that most Windows developers don't have cygwin installed.

So what is the Microsoft equivalent to nm, i.e., what command will list the symbols exported by a .lib file, the undefined symbols in the .lib, and so forth?

For the curious, a sample nm man page is here.

+10  A: 

try dumpbin.exe

http://support.microsoft.com/kb/177429

http://msdn.microsoft.com/en-us/library/c1h23y6c(VS.71).aspx

Tim