Start the Compiler

The icc command invokes the compiler, which takes your C or C++ source code as input and produces a preprocessed file or an object file.

You can invoke the compiler from:

You can also invoke it from within a program by using the system function. For example:

   system("icc myprog.c");

The syntax for the icc command is:

The icc command also invokes two other components by default:

To compile without linking, use the icc command with the /C+ option.

You can stop the logo from appearing on compiler invocation by specifying the /Q+ compiler option.



Linking


Set Compiler Options
Compile Applications with Multiple Source Files


Summary of Compiler Options
Summary of Compiler Options by Function
Scope of Compiler Options