c++ - How to view symbols in object files? -
how can view symbols in .o file? nm not work me. use g++/linux.
instead of nm
, can use powerful objdump
. see man page details. try objdump -t myfile
or objdump -t myfile
. -c
flag can demangle c++ names, nm
does.
Comments
Post a Comment