See GNU Binary Utilities.
The following binary executable files are installed with the MPLAB C32 compiler:
pic32-addr2line.exe pic32-ar.exe pic32-as.exe pic32-bin2hex.exe pic32-c++filt.exe pic32-cpp.exe pic32-gcc.exe pic32-gcov.exe pic32-ld.exe pic32-nm.exe pic32-objcopy.exe pic32-objdump.exe pic32-ranlib.exe pic32-readelf.exe pic32-size.exe pic32-strings.exe pic32-strip.exe
The installer adds the directory containing these files to your path, so that they are accessible from your command window. Information about the usage of a utility can usually be obtained by including the option --help in the command (sometimes -h or -?). For example:
pic32-nm --help
yields
Usage: pic32-nm [option(s)] [file(s)]
List symbols in [file(s)] (a.out by default).
The options are:
-a, --debug-syms Display debugger-only symbols
-A, --print-file-name Print name of the input file before every symbol
-B Same as --format=bsd
-C, --demangle[=STYLE] Decode low-level symbol names into user-level names
The STYLE, if specified, can be `auto' (the default),
`gnu', `lucid', `arm', `hp', `edg', `gnu-v3', `java'
or `gnat'
--no-demangle Do not demangle low-level symbol names
-D, --dynamic Display dynamic symbols instead of normal symbols
--defined-only Display only defined symbols
-e (ignored)
-f, --format=FORMAT Use the output format FORMAT. FORMAT can be `bsd',
`sysv' or `posix'. The default is `bsd'
-g, --extern-only Display only external symbols
-l, --line-numbers Use debugging information to find a filename and
line number for each symbol
-n, --numeric-sort Sort symbols numerically by address
-o Same as -A
-p, --no-sort Do not sort the symbols
-P, --portability Same as --format=posix
-r, --reverse-sort Reverse the sense of the sort
-S, --print-size Print size of defined symbols
-s, --print-armap Include index for symbols from archive members
--size-sort Sort symbols by size
--special-syms Include special symbols in the output
--synthetic Display synthetic symbols as well
-t, --radix=RADIX Use RADIX for printing symbol values
--target=BFDNAME Specify the target object format as BFDNAME
-u, --undefined-only Display only undefined symbols
-X 32_64 (ignored)
-h, --help Display this information
-V, --version Display this program's version number
pic32-nm: supported targets: elf32-tradlittlemips elf32-little elf32-big srec symbolsrec tekhex binary ihex
Report bugs to <URL:http://www.sourceware.org/bugzilla/>.
Maintained by John Loomis, last updated 28 July 2008