Operating System - HP-UX
1834459 Members
2603 Online
110067 Solutions
New Discussion

Re: enumerate symbols in object symbol table

 
jim mcnamara
New Member

enumerate symbols in object symbol table

Assume there is a file - foo.a on hp-ux 11.0.
It was generated by one of several different resident compilers. You do not know which one.

How do you list all of the available symbols in the file? As an analogy: like ar -t can do with archives.

man ld has nothing that I can find.
3 REPLIES 3

Re: enumerate symbols in object symbol table

Does nm(1) tell you what you need?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
MANOJ SRIVASTAVA
Honored Contributor

Re: enumerate symbols in object symbol table

Hi Jim

Are you talking of ident , do a man ident


Manoj Srivastava
jim mcnamara
New Member

Re: enumerate symbols in object symbol table

nm does exactly what I need. Thank you.