Invoking the Compiler from the Command Line
To open a command line window in Windows*, use the Start menu, choosing the specific compiler you are using. The image to the right shows how to select the Intel® C++ Compiler for 32-bit Applications for Windows*.
Use the keywords in the following table to invoke the specific compiler you are using:
When invoking the Intel compiler Build Environment shell, or when your makefile does not include settings for environment variables, you need to first set environment variables by running the appropriate Intel compiler script. On Windows, the script is run automatically when launching the Intel compiler Build Environment shell. On Linux*, you need to manually run the script.
To run this script on Linux using the bash shell, enter one of the command lines in the following table:
Note: If you use a C shell, replace the extension .sh in the above table with .csh.
The following examples show how to invoke the Intel C++ Compiler from the command line using a single compiler optimization option.
Invoking the Intel C++ Compiler
Note: -O3 and other compiler optimization options are explained later in this tutorial.