This section contains descriptions for compiler options that pertain to output, debugging, or precompiled headers (PCH).
They are listed in alphabetical order.
c
Causes the compiler to generate an object only and not link.
debug (Linux*)
Enables or disables generation of debugging information.
debug (Windows*)
Enables or disables generation of debugging information.
debug-parameters
Tells the compiler to generate debug information for PARAMETERs used in a program.
exe
Specifies the name for a built program or dynamic-link library.
Fa
Specifies that an assembly listing file should be generated.
FA
Produces an assembly listing without source or machine code annotations.
fmerge-debug-strings
Causes the compiler to pool strings used in debugging information.
ftrapuv, Qtrapuv
Initializes stack local variables to an unusual value to aid error detection.
fverbose-asm
Produces an assembly listing with compiler comments, including options and version information.
g
Tells the compiler to generate a level of debugging information in the object file.
gdwarf
Lets you specify a DWARF Version format when generating debug information.
grecord-gcc-switches
Causes the command line options that were used to invoke the compiler to be appended to the DW_AT_producer attribute in DWARF debugging information.
gsplit-dwarf
Creates a separate object file containing DWARF debug information.
list
Tells the compiler to create a listing of the source file.
list-line-len
Specifies the line length for the listing generated when option list is specified.
list-page-len
Specifies the page length for the listing generated when option list is specified.