The syntax for the icc command is:
For example, to compile a source file with the multithread option, enter:
icc /Gm myprog.c
Compiler options specified on the command line override any previously specified in the ICC environment variable.
![]()
Set Compiler Options in the ICC
Environment Variable