5.7.6 Options for Debugging

The options tabulated below control the debugging output produced by the compiler and are discussed in the sections that follow.

Table 5-12. Debugging Options
Option

(links to explanatory section)

Definition
-f[no-]eliminate-unused-debug-symbolsEliminate debug information associated with any C/C++ symbol that has not been used in the program.
-gProduce debugging information.
-QPrint function names and statistics from each pass.
-save-temps[=dir]Don’t delete intermediate files.