Re: should be simple, but

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-04-30 at 15:35 +0000, tony.chamberlain@xxxxxxxxx wrote:
>  
> if I have a library, e.g. libstdc++.so, there should be a simple Linux
> command
> to list the contents (i.e. functions) in that library, but I cannot
> find it.
> I found nm but that says "no symbols" and ar isn't right either.
> Google was not very cooperative.
> 
> I am sure there is a simple answer.

man nm
and
nm --help

You are looking for
nm -sD lib<shared-library>.so
or
nm -sDC lib<c++-library>.so.Y
or
nm -s lib<static-library>.a


Ralf


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux