Monday, December 1, 2014

How Do I Print a List of Symbols Exported From a Library

The tool you want on Mac or Linux is called "nm". Best place for directions is to get it from the man pages:

man nm

I run it like this on Mac:

nm mylibrary.dylib > out.txt

On Windows use "dumpbin" (tdump if you use Borland tools, although dumpbin will work too). Here is a link to the help on dumpbin.

No comments:

Post a Comment