Output, Debug, and Precompiled Header (PCH) Options
- c
Prevents linking.
- Fa
Specifies that an assembly listing file should be generated.
- FA
Specifies the contents of an assembly listing file.
- fasm-blocks
Enables the use of blocks and entire functions of assembly code within a C or C++ file.
- FC
Displays the full path of source files passed to the compiler in diagnostics.
- Fd
Lets you specify a name for a program database (PDB) file created by the compiler.
- FD
Generates file dependencies related to the Microsoft* C/C++ compiler.
- Fe
Specifies the name for a built program or dynamic-link library.
- Fo
Specifies the name for an object file.
- Fp
Lets you specify an alternate path or file name for precompiled header files.
- ftrapuv
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.
- Gm
Enables a minimal rebuild.
- 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.
- o
Specifies the name for an output file.
- print-multi-lib
Prints information about where system libraries should be found.
- RTC
Enables checking for certain run-time conditions.
- S
Causes the compiler to compile to an assembly file only and not link.
- use-msasm
Enables the use of blocks and entire functions of assembly code within a C or C++ file.
- Y-
Tells the compiler to ignore all other precompiled header files.
- Yc
Tells the compiler to create a precompiled header file.
- Yu
Tells the compiler to use a precompiled header file.
- Zi, Z7, ZI
Tells the compiler to generate full debugging information in either an object (.obj) file or a project database (PDB) file.