linking in linux
BCS
ao at pathlink.com
Fri Sep 28 08:01:35 PDT 2007
Reply to Steven,
> "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
>
cool, I'll have to remember that
More information about the Digitalmars-d
mailing list