Diagnostic Command-Line Options
This chapter explains the following command-line options:
-g
Generates DWARF 1. x-conforming debugging information.
-gdwarf-2
Generates DWARF-2. x-conforming debugging information.
-fmt
Equivalent to the -format option.
-format
Specifies the style of mnemonics to show in disassemblies.
-listclosure
Controls the appearance of symbol closures in the linker's map file.
-listdwarf
Controls the appearance of DWARF debugging information in the linker's map file.
-map
Generates a text file that describes the contents of the linker's output file.
-mapunused
Controls the appearance of a list of unused symbols in the map file.
-sym
Specifies global debugging options.
-unused
Equivalent to the -mapunused option.
Related information
Naming Conventions
Specifying Source File Locations
Licensing Command-Line Options
Library and Linking Command-Line Options
Code Generation Command-Line Options
Optimization Command-Line Options