Setting Compiler Options

This topic discusses setting Intel® C++ Compiler options within Microsoft* Visual Studio* 6.0.

In this example, you want to optimize gzip to run optimally on a Pentium® 4 processor, but to be backwards compatible with all IA-32 processors.

Set Project Options

1.

Open the Project Settings dialog box.

2.

Select the configuration to activate in the Settings For list (in the red frame).

4.

Under the C++ tab, select General from the Category drop-down list (in the orange frame).

5.

If you want to include any Intel C++ Compiler options not supported in Project Settings, you must enter them in the Project Options property sheet (see the blue frames).

In this case, you want to include Pentium 4 processor extensions, but you want to be sure that your application will be backwards compatible with all IA-32 processors, so you use the -QaxW option.

This and other compiler optimization options are explained later in this tutorial.

6.

Click OK.