help

Displays all available compiler options or a category of compiler options.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -help [category]
Windows:  /help [category]

Arguments

category Is a category or class of options to display. Possible values are:
  advanced Displays advanced optimization options that allow fine tuning of compilation or allow control over advanced features of the compiler.
  codegen Displays Code Generation options.
  compatibility Displays options affecting language compatibility.
  data Displays options related to interpretation of data in programs or the storage of data.
  deprecated Displays options that have been deprecated.

 

diagnostics Displays options that affect diagnostic messages displayed by the compiler.
  float Displays options that affect floating-point operations.
  help Displays all the available help categories.
  inline Displays options that affect inlining.
  ipo Displays Interprocedural Optimizations (IPO) options.
  language Displays options affecting the behavior of the compiler language features.
  link Displays linking or linker options.
  misc Displays miscellaneous options that do not fit within other categories.
  openmp Displays OpenMP and parallel processing options.
  opt Displays options that help you optimize code.
  output Displays options that provide control over compiler output.
  pgo Displays Profile Guided Optimization (PGO) options.
  preproc Displays options that affect preprocessing operations.

Default

OFF No list is displayed unless this compiler option is specified.

Description

This option displays all available compiler options or a category of compiler options.  If category is not specified, all available compiler options are displayed. This option can also be specified as --help.

Alternate Options

Linux and Mac OS: None
Windows: /?