Set Compiler Options in ICC and on the Command Line
When you specify compiler options both in the ICC environment
variable and on the command line, the compiler evaluates both
sets of options. When the compiler is invoked:
- The string associated with ICC is retrieved.
- The command line is retrieved.
- The command line is appended to the ICC string, combining
the two into a single command line.
- This combined command line is read from left to right,
and the compiler option precedence rules are applied.
- The files are compiled and linked using the options as
interpreted in the previous step.
As a result, values in ICC are processed before the command
line, but options on the command line override any conflicting
options in ICC.

Set Compiler Options

Summary of Compiler Options