How to do it...

Let's perform the following steps:

  1. In an open Terminal session, type the following and review the output:
$ nm --help
  1. Next, type the following and examine the output:
$ man nm
  1. Press q to quit the man page for nm. Alternatively, open a new Terminal tab by pressing Ctrl + Shift + T simultaneously on your keyboard and type the following in the new tab or available Terminal session. Review the following output:
$ nm ch05-example
$ nm ch05-example-stripped
$ nm ch05-example-debugging
$ nm ch05-example.o
  1. Next, type the following in an available Terminal session and examine the output:
$ nm -A -D ch05-example-stripped
  1. Type the following in an open Terminal session and review the output:
$ nm -f posix ch05-example
$ nm -f sysv ch05-example
  1. Next, type the following and study the output:
$ nm -A ch05-example ch05-example-debugging
  1. Type the following in an available Terminal session and examine the output:
$ nm -A -S ch05-example
  1. Next, type the following and review the output:
$ nm -A -n ch05-example
  1. Finally, type the following and study the output:
$ nm -l -a ch05-example-debugging
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.156.140