### 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:

1. The string associated with ICC is retrieved.
2. The command line is retrieved.
3. The command line is appended to the ICC string, combining the two into a single command line.
4. This combined command line is read from left to right, and the compiler option precedence rules are applied.
5. 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