Set Compiler Options with Multiple Source Files

The syntax for the icc command is:

When you compile programs with multiple source files, an option applies to all the source files that follow it. For example, if you enter the following command:

    icc  /Oi+ main.c /Fa sub1.c /Lx /Oi- sub2.c

The name of the executable module will be the same as the name of the first source file (main), but with the extension .exe.



Set Compiler Options


Summary of Compiler Options