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

Contents

Introduction

This document explains how to install and configure for use the Intel® C++ Compiler 10.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.

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.

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 AMD* processors running a 64-bit version of Windows are also supported by Intel compilers for Intel® 64 architecture applications.
IA-64
Refers to systems based on the Intel® Itanium® processor running a 64-bit operating system.

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 architecture to run on IA-32 architecture . 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 architecture system to run on Intel® 64 architecture 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. Some combinations may not be available with certain Microsoft visual development environments.

Minimum Hardware Requirements to Develop Applications

Software Requirements to Develop IA-32 Architecture Applications

Software Requirements to Develop Applications for Systems with Intel® 64 Architecture Processors or AMD* 64-bit Processors

Software Requirements to Develop IA-64 Architecture 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*

For Windows Vista, Microsoft supports only Visual Studio 2005/2008* and not earlier Visual Studio versions. Before installing the Intel 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. Please be sure to uninstall the Intel compiler integration before installing any Visual Studio update. For more information, please see Microsoft's Visual Studio on Windows Vista page and related documents.

Support for Microsoft Visual C++ 6.0* and Microsoft Visual Studio 98* to be Removed

In the next major release of Intel C++ Compiler for Windows, support for Microsoft Visual C++ 6.0 and Microsoft Visual Studio 98 will be removed. Please migrate to Microsoft Visual Studio 2005 or 2008 in order to assure compatibility with future Intel compiler releases.

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.

At the Intel® Software Development Products Registration Center, the compiler is provided in several different packages to meet your needs. The filenames and descriptions of the packages are:

w_cc_p_10.1.xxx.exe
Complete product for IA-32 and Intel® 64 architecture application development, including, Intel C++ Compiler, Intel Debugger, Intel C++ Integrations Into Microsoft Visual Studio. New users developing for IA-32 or Intel® 64 architecture systems should select this.
w_cc_p_10.1.xxx_ia32.exe
Compiler, Debugger and Visual Studio Integrations for IA-32 architecture application development only. Select this if you are updating an earlier installation of the 10.1 compiler and you are developing for IA-32 architecture systems.
w_cc_p_10.1.xxx_intel64.exe
Compiler, Debugger and Visual Studio Integrations for Intel® 64 architecture application development only. Select this if you are updating an earlier installation of the 10.1 compiler and you are developing for Intel® 64 architecture systems.
w_cc_p_10.1.xxx_ia64.exe
Compiler (IA-64 native and cross-compiler), Debugger and Visual Studio Integrations for IA-64 architecture application development only. Select this if you are developing for IA-64 architecture systems either as a new installation or as an update to an earlier 10.1 compiler.

where "xxx" will vary.

If you have obtained the product on CD, it contains the development tools for all three platforms.

If you have licensed Intel® C++ Compiler Professional Edition, download and installation of the Intel® Integrated Performance Primitives, Intel® Math Kernel Library and Intel® Threading Building Blocks is separate. Please refer to the Installation Guide and/or Release Notes of those components for details.

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. On Windows Vista, Visual Studio must be run as Administrator - this is a Microsoft restriction.

Note: the default installation master directory referred to as <install-dir> in this document, is %ProgramFiles%\Intel The C++ 10.1 compiler is installed into the Compiler\C++\10.1.xxx 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 10.1 of the Intel C++ Compiler installed, and later uninstall version 8.1 or 9.x, the compiler selection tool within the Visual Studio development environment will become unavailable. To correct this, reinstall version 10.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. Apply any appropriate Service Packs and updates to Microsoft Visual Studio.

  4. Install Intel® C++ Compiler 10.1

You can have multiple versions of the Intel C++ Compiler installed, and as of version 10.0, two or more update versions of the compiler can coexist. When you install an update to version 10.1, previous versions are not uninstalled automatically. Users of Microsoft Visual Studio 2003/2005/2008 must select the new version from within Microsoft Visual Studio (Tools > Options > Intel(R) C++ > Compilers ).. If you do not wish to have old versions installed, you can uninstall them before (recommended) or after installing the newer version. Note that the install path will be different for each update.

Configure Visual Studio for 64-bit Applications

If you are using Microsoft Visual Studio 2005* or 2008 and will be developing 64-bit applications (for the Intel® 64 or IA-64 architectures) you may need to change the configuration of Visual Studio to add 64-bit support.

If you are using Visual Studio 2005/2008 Standard Edition or Visual Studio 2005 Premier Partner Edition, no configuration is needed to build Intel® 64 architecture applications.

For other editions:

  1. From Control Panel > Add or Remove Programs, select “Microsoft Visual Studio 2005” (or 2008) > Change/Remove. The Visual Studio Maintenance Mode window will appear. Click Next.
  2. Click Add or Remove Features
  3. Under “Select features to install”, expand Language Tools > Visual C++
  4. If the box “X64 Compiler and Tools” is not checked, check it, then click Update. If the box is already checked, click Cancel.

To use Microsoft Visual Studio 2005/2008 Team System Edition to build applications to run on IA-64 architecture systems, follow the above steps and ensure that the box “Itanium Compiler and Tools” is checked.

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 Setup.exe at the top level of 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_10.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. Click Next - this will start the installation of all selected components.
  5. When all desired tools or components are installed, click Next.
  6. If you had entered a serial number, 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.
  7. 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*. 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 as described in the User's Guide.

Installation related limitations

Silent Install

It is possible to install the product in a manner that does not require user interaction. Note that this installation mode is not truly "silent" in that there is information displayed on the screen showing the installation progress.

To install the compiler in the "silent" mode, start a command prompt window (or invoke a batch script) with administrator privileges. Set the default folder to be the instman subfolder of the product files. If you have downloaded the product, running the executable first unpacks product files into a local folder; you can cancel the install at that point to get access to the instman folder.

From the instman folder, run one of the following two commands:

setupcore.exe -l full-path-to-license-file
Install using a license file. Specify the complete path to the license file including the file name and type. If the path has embedded spaces, enclose the path in quotes.
setupcore.exe -n SerialNumber
Install using a serial number, where SerialNumber is the serial number (of the form ABCD-1234567)

Each of these options will install all available product components. You can further configure the installation by editing the file instman\mediaconfig.xml. An example edited file is shown below - replace the path to the installer with the correct version.

<Product>

<SerialNumber>ABCD-1234567</SerialNumber>
<LicensePath>C:\icc.lic</LicensePath>

<Tool>
     <DisplayName>Intel(R) C++ Compiler for applications running on IA-32</DisplayName>
     <Installer>installs\w_cc_p_10.1.012_IA32.exe /v"/qb"</Installer>
</Tool>

<Tool>
     <DisplayName>Intel(R) Debugger for applications running on IA-32</DisplayName>
     <Installer>installs\w_idb_p_10.1.012_IA32.exe /v"/qb"</Installer>
</Tool>

<Tool>
     <DisplayName>Intel(R) C++ Compiler Integrations in Microsoft Visual Studio*</DisplayName>
     <Installer>installs\w_ide_p_10.1.012_IA32.exe /v"/qb"</Installer>
</Tool>

<Registration>
     <FirstName>Bob</FirstName>
     <LastName>Smith</LastName>
     <EMail>Bob.Smith@example.com</EMail>
     <Country>US</Country>
     <Company>Example Corporation </Company>
     <ProxyHost></ProxyHost>
     <ProxyPort></ProxyPort>
</Registration>

</Product>

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 10.1]->[C++ Build Environment for applications running on IA-32] . It sets up the environment automatically. Or you can open a normal command window and run <install-dir>\Compiler\C++\10.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\10.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 > All 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. By default this is %ProgramFiles%\Common Files\Intel\Licenses. 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) 2009, Intel Corporation. All Rights Reserved.