linking in linux

Steven Schveighoffer schveiguy at yahoo.com
Fri Sep 28 07:07:06 PDT 2007


"BCS" <ao at pathlink.com> wrote in message 
news:ce0a334323bfe8c9cf6333c514f2 at news.digitalmars.com...
> As for #1, I'm not even sure how to check that one.

nm libxyz.a

This will list all the symbols defined in libxyz.a.  You can do:

nm libxyz.a | grep distorm

To see if the name is mangled.

You can also do:

nm -C libxyz.a

To have nm demangle the symbols for you

You can also do:

nm -D libxyz.so

to list symbols in a dynamic library.

-Steve 





More information about the Digitalmars-d mailing list