Intel® C++ Compiler 10.1 for Mac OS* X
Installation Guide

Contents

Introduction

This document explains how to install and configure Intel® C++ Compiler 10.1 for Mac OS* X. 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.

System Requirements

Notes:

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.

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 obtain an account with administrative (root) privilege. Any normal account with "User" privilege can use the Intel® C++ Compiler through the Xcode IDE or the command line.

Note: The installation master directory referred to as <install-dir> in this document, is

where xxx represents the compiler package revision number (e.g. 10.1.005).

The Intel® Debugger installation master directory is referred to as <idb-install-dir> and is /opt/intel/idb/10.1.xxx (32-bit) or /opt/intel/idbe/10.1.xxx (64-bit).

The recommended installation order is as follows:

  1. Xcode
  2. Intel® C++ Compiler 10.1 for Mac OS* X

Installation Instructions

  1. If you received the compiler product on CD-ROM, insert the CD. Locate the disk image file (e.g. m_cc_x_10.1.005.dmg) on the CD and double-click. If you received the compiler product as a download, double-click the downloaded file, which will have a name of the form m_cc_x_10.1.xxx.dmg.
  2. Open the disk image file. Locate and click Install.
  3. The Intel® C++ Compiler Installer will appear. (The installer provides links to several important documents.) Click Continue.
  4. Select a license option. Follow the instructions on screen. When ready click Continue.
  5. A new screen appears. Click Install. (If the compiler is already installed, the option is Upgrade.)
  6. Information about using the Intel Compiler and finding the documentation will appear. Read the information, and click Continue.
  7. The Software License Agreement appears. Read the license agreement, and click Continue. (You are prompted to accept or reject the license agreement.)
  8. Select the Volume for the installation destination folder. Click Continue.
  9. A new screen appears. Click Install or Customize. (If the compiler is already installed, the options are Upgrade or Customize). To deselect items to install, click Customize. If you want all components, click Install or Upgrade.

    If you clicked Customize, you can deselect the components to install by removing the check from the component name. (A Standard Install option is available; use this to install all components.) Click Install.
  10. The installer installs the selected components on your system. Click Close.
  11. Click Continue.
  12. Click Finish on the final screen to exit the installer.
  13. Reboot the system to make the Xcode support for the Intel compiler

Note: After completing the installation, you will be asked to register your product.

Note: If you install a new version of Xcode at any time, you must uninstall and reinstall the Intel C++ Compiler.

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:

  1. Start a shell

  2. Unpack the product's .dmg file to a folder using hdiutil

  3. Change directory to the instman subfolder of the unpacked product

  4. export DYLD_LIBRARY_PATH= <instman folder>

  5. Run one of the following two commands:

    ./si_secore -licfile full-path-to-license-file
    Install using a license file. Specify the complete path to the license file including the file name and type.
    ./si_secore -sn 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. It is possible to supply a configuration file that provides additional flexibility. If you are interested in that, please contact Intel Premier Support.

Setting Up the Compiler Environment

The programs in the Intel C++ Compiler product rely on the environment variables PATH, DYLD_LIBRARY_PATH and LD_LIBRARY_PATH. The compiler installation program creates compiler environment script files (iccvars.sh/idbvars.sh) that set these variables. It is strongly recommended that you add those script files into your login script (.login file). Once the variables are set in the ".login" file there is no need to run the script files for each session.

source the script to setup the compiler environment:

The installation program also creates compiler configuration files named <install-dir>/bin/icc.cfg that contain common settings for all compilations. You can edit these files to add additional default options.

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 /Users/Shared/Library/Application\ Support/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 the topic Obtaining Technical Support below for registration instructions.

Uninstalling the Compiler and Tools

Please follow the steps below to uninstall the Intel C++ Compiler and Debugger. These steps must be done by a user with root privileges.

  1. Open Terminal.
  2. Change to the root directory.
  3. To uninstall the compiler, enter a command similar to the following:

    <install-dir>/bin/uninstall.sh
  4. To uninstall the debugger, enter a command similar to the following:

    <idb-install-dir>/bin/uninstall.sh

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/cmac.

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.