Developer Guide and Reference

Contents

Selecting the Intel® Compiler

The following topic applies to Xcode*.
To select the Intel®
C++
Compiler:
  1. Select the target you want to change and click
    Build Rules
    .
  2. Add a new rule by clicking
    Editor
    Add Build Rule
    or pressing the
    +
    button.
  3. Under
    Process
    , choose
    C source files
    or
    C++ source files
    , depending on your source files
    .
  4. Under
    Using
    , select one of the options for the
    ICC Intel® C++
    Compiler
    :
    • Major_Version
      , such as
      19.1
      : The most recently installed compiler, even if it is not the latest release.
    • Latest Release
      : The latest released compiler available on your system. This is useful when you have multiple installations of the Intel compiler and want to use the version most recently released by Intel.
    • Major_Version
      .
      n
      .
      nnn
      : A specific package, such as 19.1.0.000. This is useful when you have multiple packages of one major version installed.
    If the Intel® Compiler does not show up in the drop-down list, it may mean that the compiler does not support your version of Xcode*. To enable the Intel® Compiler in Xcode* specify the Xcode path during installation and restart the program. The installer checks for the supported Xcode* version and warns you in the case of an unsupported version.
If you select a tool that does not support the source file type, that source file type is processed by a later rule that specifies that type. For example, even though Objective-C/C++ sources are derived from C sources, they are built by the Intel® C++ Compilers.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804