This section contains descriptions for compiler options that pertain to output, debugging, or precompiled headers (PCH).
They are listed in alphabetical order.
fmerge-constants
Determines whether the compiler and linker attempt to merge identical constants (string constants and floating-point constants) across compilation units. This feature is only available for ifort.
fmerge-debug-strings
Causes the compiler to pool strings used in debugging information.
fsource-asm
Produces an assembly listing with source code annotations. This feature is only available for ifort.
ftrapuv, Qtrapuv
Initializes stack local variables to an unusual value to aid error detection. This feature is only available for ifort.
fverbose-asm
Produces an assembly listing with compiler comments, including options and version information. This feature is only available for ifort.
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.
map-opts, Qmap-opts
Maps one or more compiler options to their equivalent on a different operating system.
pdbfile
Lets you specify the name for a program database (PDB) file created by the linker. This feature is only available for ifort.
print-multi-lib
Prints information about where system libraries should be found.
Quse-msasm-symbols
Tells the compiler to use a dollar sign ("$") when producing symbol names. This feature is only available for ifort.
S
Causes the compiler to compile to an assembly file only and not link.
show
Controls the contents of the listing generated when option list is specified.
use-asm, Quse-asm
Tells the compiler to produce objects through the assembler. This is a deprecated option. There is no replacement option. This feature is only available for ifort.
Zi, Z7
Tells the compiler to generate full debugging information in either an object (.obj) file or a project database (PDB) file.
Zo
Enables or disables generation of enhanced debugging information for optimized code. This feature is only available for ifort.