Developer Guide and Reference

Contents

Setting Compiler Options

The following topic applies to Xcode*.
To use the Xcode* environment to set compiler options, including options specific to Intel® architecture:
  1. Select a target.
  2. Under the
    Build Settings
    tab, click
    All
    .
  3. Scroll down to the list of
    ICC Intel® C++ Compiler
    categories.
  4. To set an Intel®
    C++
    Compiler option in the
    Optimization
    category, scroll down to display
    Optimization
    .
  5. Select a
    Setting
    , such as
    Enable Interprocedural Optimization for Single File Compilation
    , and set the option's state. If the
    Quick Help
    inspector is visible, information about the selected option appears under
    Quick Help
    .
Apple* has deprecated the
libstdc++
library, make sure you are using the
libc++
standard library.
The next time you build your project, the selected options are used in the compilation.
To view the settings that have changed from the established defaults, select the
Levels
button under
Build Settings
.

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