Intel® C++ Compiler 9.1 for Windows*
Installation Guide

Contents

Introduction

This document explains how to install and configure for use the Intel® C++ Compiler 9.1 for Windows* product. Installation is a multi-step process. Please read this document in its entirety before beginning and follow the steps in sequence. For information about the product contents, including new and changed features, please refer to the separate Release Notes.

This product contains Intel® C++ compilers and tools for developing Windows* applications for IA-32 processors, Intel® 64 architecture (formerly Intel® EM64T) processors, and Intel® Itanium® processors.

If you have a previous (lower numbered) version of the Intel C++ Compiler for Windows installed, you do not need to uninstall it before installing this version. If you choose to uninstall the older version, you may do so before or after installing this version. If you have a previous installation of Intel C++ Compiler 9.1 on your system, you do not need to uninstall it - select Modify when prompted by the Intel® Software Setup Assistant to upgrade the desired components.

System Requirements

Architecture Terminology

Intel® compilers support three platforms: general combinations of processor architecture and operating system type. This section explains the terms that Intel uses to describe the platforms in its documentation, installation procedures and support site.

IA-32
IA-32 Architecture refers to systems based on 32-bit processors generally compatible with the Intel Pentium® II processor, (for example, Intel® Pentium® 4 processor or Intel® Xeon® processor), or processors from other manufacturers supporting the same instruction set, running a 32-bit operating system.
Intel® 64
Intel® 64 Architecture refers to systems based on IA-32 architecture processors which have 64-bit architectural extensions, for example, Intel® Core™2 processor family), running a 64-bit operating system such as Microsoft Windows XP* Professional x64 Edition or Microsoft Windows Vista* x64. If the system is running a 32-bit version of the Windows operating system, then IA-32 architecture applies instead. Systems based on the AMD* Athlon64* and Opteron* processors running a 64-bit operating system are also supported by Intel compilers for Intel® 64 architecture applications.
IA-64
Refers to systems based on the Intel® Itanium® 2 processor running a 64-bit operating system.
Note: In version 9.1 documentation and product components, the term Intel® EM64T is used. In a future release, Intel® 64 will be used consistently.

Native and Cross-Platform Development

The term "native" refers to building an application that will run on the same platform that it was built on; for example, building on IA-32 to run on IA-32. The term "cross-platform" or "cross-compilation" refers to building an application on a platform type different from the one on which it will be run, for example, building on an IA-32 system to run on Intel® Itanium®-based systems . Not all combinations of cross-platform development are supported and some combinations may require installation of optional tools and libraries.

The following table describes the supported combinations of compilation host (system on which you build the application) and application target (system on which the application runs).

Host and Target Combinations
Host \ Target IA-32 Intel® 64 IA-64
IA-32
Yes
Yes
Yes
Intel® 64
Yes
Yes
Yes
IA-64
No
No
Yes

Note: The above table refers to use of the command-line build environment. Microsoft Visual C++ 6.0, Visual Studio 98, Visual Studio .NET 2002 and 2003 support development of IA-32 applications only. Cross-platform development of IA-64 applications is supported in Microsoft Visual Studio 2005 Team System Edition only. Visual Studio 2005 does not support installation on Itanium-based systems.

Minimum Hardware Requirements to Develop Applications

Software Requirements to Develop IA-32 Applications

Software Requirements to Develop Applications for Systems with Intel® 64 Architecture Processors or AMD Opteron Processors

Software Requirements to Develop IA-64 Applications

Requirements to Run Applications

Notes:

It is the responsibility of application developers to ensure that the machine instructions contained in the application are supported by the operating system and processor on which the application is to run.

Installing on Microsoft Windows Vista*

Intel has performed limited testing of Intel C++ Compiler on Microsoft Windows Vista*, and, while Windows Vista is not yet a supported OS for use with Intel compilers, we believe that this combination should work for most users as long as issues relating to Microsoft Visual Studio* are understood.

For Windows Vista, Microsoft supports only Visual Studio 2005* and not earlier Visual Studio versions. Before installing Intel C++ Compiler on Windows Vista, Visual Studio 2005 users should install Visual Studio 2005 Service Pack 1 (VS 2005 SP1) as well as the Visual Studio 2005 Service Pack 1 Update for Windows Vista which is linked to from the VS 2005 SP1 page. After installing these updates, you must ensure that Visual Studio runs with Administrator permissions, otherwise you will be unable to use the Intel compiler. For more information, please see Microsoft's Visual Studio on Windows Vista page and related documents.

Obtaining the Compiler and Tools

Before installing the compiler and tools, you should check the Product Downloads section of the Intel® Software Development Products Registration Center to see if a newer version or update is available. The version on CD or as listed in your electronic download license letter may not be the most current. In order to download and install a compiler from Intel® Premier Support, you will first have to register for support as described under Technical Support.

Installing the Compiler and Tools

If you encounter difficulty with the initial installation or registration process, please visit https://registrationcenter.intel.com/support to request help from Intel.

Pre-Installation Instructions

To install the Intel® C++ Compiler, you need to use an account that is a member of the Administrators privilege group . Any normal account with Users, Debugger Users or higher user privilege can use the Intel® C++ Compiler.

Note: the default installation master directory referred to as <install-dir> in this document, is C:\Program Files\Intel The C++ 9.1 compiler is installed into the Compiler\C++\9.1 subfolder.

If you will be using the Microsoft Visual Studio development environment or the Microsoft Platform SDK (see System Requirements), you must install those before installing the compiler.

Note: If you have version 8.x or 9.0 of Intel C++ Compiler installed, you must remove the Visual C++ .NET integration before installing this version of Intel C++ Compiler. To do this for version 8.x, follow these steps:

  1. In the Windows Control Panel, select Add or Remove Programs.
  2. Select the Intel C++ Compiler 8.x you wish to modify and click the Change button. When the InstallShield* Wizard appears, click Next.
  3. Select Modify and click Next.
  4. Clear the checkboxes for "IDE Integration for Visual C++"
  5. Click Next, Install and then Finish.

To remove the IDE integration for version 9.0, follow these steps:

  1. In the Windows Control Panel, select Add or Remove Programs
  2. Select Intel(R) C++ Compiler 9.0 Integrations into Microsoft Visual Studio* and click Remove

Note: If you have version 9.1 of the Intel C++ Compiler installed, and later uninstall version 8.1 or 9.0, the compiler selection tool within the Visual Studio development environment will become unavailable. To correct this, reinstall version 9.1 of the Intel C++ Compiler.

Please make sure that you do not have anti-virus or other system protection software set to silently block "suspicious" scripts or installers, as this can interfere with installation of software products.

The recommended installation order is as follows:

  1. Install a supported prerequisite version of Microsoft Visual C++, Microsoft Visual C++ .NET, Microsoft Visual Studio or Microsoft Visual Studio .NET.

  2. Install Microsoft Platform SDK if required (see System Requirements)

  3. Remove the Intel® C++ Compiler 8.x or 9.0 Integration with Microsoft Visual Studio if installed (see above note)

  4. Install Intel® C++ Compiler 9.1

The Intel® C++ Compiler 9.1 can coexist with lower-numbered versions of the Intel C++ Compiler, but only one compiler's version of the Visual Studio integration can be installed. Note that for Visual Studio .NET 2002 and 2003, you can select among multiple Intel compiler versions.

Installation Instructions

  1. If you received the compiler product on CD-ROM, insert the CD-ROM in a CD-ROM drive. If the installation program does not automatically start, locate the file IA32\Setup.exe, EM64T\setup.exe or Itanium\setup.exe (as appropriate for the system you are installing on - see the above Processor Terminology section for more information) on the CD-ROM and double-click it. If you received the compiler product as a download, double-click on the downloaded file, which will have a name of the form w_cc_p_9.1.xxx.exe
  2. The Intel® Software Setup Assistant will appear. Click Next.
  3. The Setup Assistant will prompt you for your serial number or location of a license file. If this is an initial installation, enter the serial number provided to you by Intel or your reseller and click Next. If you are connected to the Internet, the Setup Assistant will contact Intel, retrieve a license, and install it on your computer. If an Internet connection to Intel is not available, a default license will be installed which permits use of the compiler but which does not allow updates. If you already have a valid license on the system, you will be asked if you want to use it - this is the recommended choice.
  4. The Tool Selection page will appear. Each installable tool or component has a checkbox next to it. Initially, all boxes are checked. Clear checkmarks by clicking on the boxes for components you do not wish to install or update.

    Note: On Intel® 64-based systems, you must install the IA-32 compiler before installing the Integration into Microsoft Visual Studio, even if you will not be using the IA-32 compiler. This restriction will be lifted in a future update.
    Click Next - this will start the installation of all selected components.
  5. If you are upgrading from an earlier version, a prompt may appear asking if you want to upgrade the component. (This prompt may be hidden behind the main setup window.) The upgrade process first uninstalls the old version and then installs the new version. When the IA-32 compiler is uninstalled, you may get a message saying that "IDE depends on compiler". This is normal and you should allow the uninstall to continue.
  6. When all desired tools or components are installed, click Next.
  7. The next page provides you the opportunity to register for Intel® Premier Support. Registration gives you full access to Intel® Premier Support for the length of your support term (typically one year for licenses purchased with support), including all updates and new versions. Without registering, you will be unable to install or use product updates. Enter your e-mail address in the field provided and click Next. (If you already have an Intel® Premier Support account, enter its registered e-mail address.) You will then receive an e-mail with registration information including an initial password. If you do not want to register for Intel® Premier Support, clear the checkbox and click Next.
  8. Click Finish on the final screen to exit the Intel Software Setup Assistant.

Installing the Intel® License Manager for FLEXlm*

If you are a network administrator and your organization has purchased floating or node-locked licenses for Intel software development products, you need to install the Intel® License Manager for FLEXlm* on a system on your local network. This product provides the Intel® License Manager for FLEXlm* for Windows* on IA-32 and Itanium-based systems. Intel also offers the Intel License Manager for FLEXlm for a variety of other popular platforms. Any Intel License Manager for FLEXlm can serve licenses for Intel products on any combination of platforms.

To install the supplied Intel License Manager for FLEXlm after the compiler has been installed, select Start..Programs..Intel(R) Software Development Tools.. Intel(R) License Manager for FLEXlm..Install. Please refer to the User's Guide available in the same menu for details on installing and configuring the license manager. License managers for other platforms can be downloaded from Intel® Premier Support, as described in the User's Guide.

Installation related limitations

Setting Up the Compiler Environment

You can use the Intel® C++ Compiler from a command window, or from within the Microsoft Visual C++* .or Visual Studio environment, if you installed the component for Visual Studio integration.

To use the Intel® C++ Compiler from a command window, open the command window from the Intel® C++ Compiler's menu from [Start]->[All Programs]->[Intel® Software Development Tools]-> [Intel® C++ Compiler 9.1]->[Build Environment for IA-32 applications] . It sets up the environment automatically. Or you can open a normal command window and run <install-dir>\Compiler\C++\9.1\xxxx\bin\iclvars.bat.Where xxxx is IA32, EM64T or Itanium. It also sets up the environment correctly to use the Intel C++ Compiler. If you need to use the Intel Visual Fortran Compiler from the same command window, simply run Program <install-dir>\Compiler\Fortran\9.1\xxxx\bin\ifortvars.bat Note: ifortvars.bat should be run after iclvars.bat so the linker will pick up the correct Fortran run-time libraries.

To use the Intel C++ Compiler from the Microsoft visual development environment, use the program group item for the installed Microsoft product, for example, Start..Programs..Microsoft Visual Studio 2005..Microsoft Visual Studio 2005.

If you have any problems running the compiler, please make sure a valid license file (*.lic) is located in the license directory. The compiler uses the environment variable INTEL_LICENSE_FILE to locate the license file. If you still have problems, please submit an issue to Intel® Premier Support. See the Technical Support section of this document for details.

If you have not already done so, please register for support after you install this product. See Technical Support for registration instructions.

Uninstalling or Modifying the Compiler and Tools

To uninstall or modify Intel C++ Compiler tools or components, select "Add or Remove Programs" from the "Control Panel". The following is a complete list of the tools and components which may be installed. You may not have all of these installed:

Note: Uninstalling the Intel C++ Compiler does not delete the corresponding license file.

Obtaining Technical Support

If you did not register your compiler during installation, please do so at the Intel® Software Development Products Registration Center. Registration entitles you to free technical support, product updates and upgrades for the duration of the support term.

For information about how to find Technical Support, Product Updates, Users Forums, FAQs, tips and tricks, and other support information, please visit: http://www.intel.com/software/products/support/cwin.

Note: If your distributor provides technical support for this product, please contact them for support rather than Intel.

Disclaimer and Legal Information

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL(R) PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.

Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.

The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.

Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or by visiting Intel's Web Site.

Celeron, Centrino, Intel, Intel logo, Intel386, Intel486, Intel Core, Itanium, MMX, Pentium, VTune, and Xeon are trademarks of Intel Corporation in the U.S. and other countries.

* Other names and brands may be claimed as the property of others.

Copyright (C) 2007, Intel Corporation. All Rights Reserved.