How can I view symbols in a .o file? nm does not work for me. I use g++/linux.
nm, you can use the powerful
objdump. See the man page for details. Try
objdump -t myfile or
objdump -T myfile. With the
-C flag you can also demangle C++ names, like