Developer Guide and Reference

Contents

Setting Options for a Project or File

The following topic applies to Eclipse* for C/C++.
You can specify compiler, linker, and archiver options at the project and source file level. Follow these steps to set options for a project or file:
  1. Right-click a project or source file in the
    Project Explorer
    .
  2. Select
    Properties
    . The property pages dialog box opens.
  3. Select
    C/C++ Build
    Settings
    .
  4. Select the
    Tool Settings
    tab and click an option category for
    Intel C Compiler
    ,
    Intel C++ Compiler
    , or
    Intel C++ Linker
    .
  5. Set the options to apply to the project or file.
    • Some properties use check boxes, drop-down boxes, or dialog boxes to specify compiler options. For a description on options properties, hover over the option to display a tooltip. After setting the desired options in command line syntax, select
      Apply
      and then
      OK
      .
    • To specify an option that is not available from the
      Properties
      dialog, use the
      Command Line
      category. Enter the command line options in the
      Additional Options
      field using command line syntax. Click
      Add
      to add an argument to the list. Enter a valid argument for the option, then click
      OK
      .
    • You can specify option settings for one or more configurations by using the
      Configuration
      drop-down menu.
  6. Click
    OK
    .
The compiler applies the selected options, using the selected configurations, when building.
To restore default settings to
all
properties for the selected configuration, click the
Restore Defaults
button on any property page.

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