The Compiler tab fields change depending on your selection in the
Category dropdown list at the top:
General options
- Compiler type
- The first item to
specify is a compiler type (automatically detected by the IDE), such as GCC 4.6. Note that selecting
Default is different from selecting the version that
happens to be the default.
- Output options
- Here you can specify the warning level (0 to 9), which is the threshold level of
warning messages that the compiler outputs. You can also choose to have the
preprocessor output intermediate code to a file; the IDE names the output file
your_source_file.i (C) or
your_source_file.ii (C++), using the name of your source
file as the base name.
- Code generation
- For the Optimization level, you can specify four levels:
from 0 (no optimization) to 3 (most optimization).
- Dependency checking
- Lets you set the dependency checking policy for the compiler.
You can click one of the radio buttons for None,
User Headers Only, or All Headers.
- Definitions
- Here you can specify the list of compiler defines to pass to
the compiler on the command line in the form
-D name[=value].
You don't have to bother with the -D part; the IDE adds it automatically.
- Other options
- Here you can specify any other command-line options that aren't already covered
in the Compiler tab. For more information on the compiler's command-line
options, see qcc in the Utilities
Reference.
- The content that you type in this field appears in the
Compilation options box below.