Re: Tool for examining sybols in a lib file

exits funnel <[email protected]> Thu, 27 Nov 2003 16:55:16 -0800 (PST)
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
James and Bill,

Thank you both; that is exactly what I was looking
for.

-exits

--- James Olin Oden <[email protected]>
wrote:
> On Thu, 27 Nov 2003, exits funnel wrote:
> 
> > Hello,
> > 
> > I'm trying to find a way to find out the names of
> the
> > symbols (functions/variables) archived in a native
> > library - libm.a, for concreteness.  It seems I
> should
> > be able to do it somehow with ld but I can't find
> an
> > option.  Can anyone point me in the right
> direction? 
> > Thanks in advance.
> >
> Just do:
> 
> 	nm (name_of_static_lib)
> 
> See the nm man page for more details. 
> Cheers...james 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [email protected]
>
https://www.redhat.com/mailman/listinfo/redhat-devel-list


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/