views:

61

answers:

2

Hi! I have a static library static_library.a

How to list functions and methods realized there. or at least how to look is there concrete function 'FUNCTION_NAME' realized?

+3  A: 

Write

nm static_library.a

This gives you complete list of symbols in the library.

buratinas
+2  A: 

nm as mentioned. If this a libratry built from C++ you should use the nm --demangle option to get back the orginal symbol names rather than their "mangled" versions.

frankc
It's not C++, but C, so compiler was GCC. It is ok without --demangle. Take into account for next times, tnx.
Max