How to view symbols in object files?

前端 未结 5 1124
旧时难觅i
旧时难觅i 2021-01-30 03:55

How can I view symbols in a .o file? nm does not work for me. I use g++/linux.

5条回答
  •  长发绾君心
    2021-01-30 04:12

    There is a command to take a look at which functions are included in an object file or library or executable:

    nm
    

提交回复
热议问题