Getting Started Guide

  • XX.XX
  • 12/16/2019
  • Public Content

Get Started with the Intel® C++ Compiler 19.1 for

The Intel® C++ Compiler provides optimizations that help your applications to run faster Intel® 64
and IA-32
architectures, with support for the latest C and C++ language standards (including C++17). This compiler produces optimized code that can run significantly faster by taking advantage of the ever-increasing core count and vector register width in Intel® Xeon® processors and compatible processors. The Intel® Compiler will help you boost application performance through superior optimizations and Single Instruction Multiple Data (SIMD) vectorization, integration with Intel® Performance Libraries, and by leveraging the latest OpenMP* 5.0 parallel programming model.
Start using the compiler from the command line or within the Eclipse* C/C++ Development Toolkit (CDT).
The Intel C++ Compiler is available as part of the following suites:

Before You Begin

Before you can use this tool, you must first set the environment variables by sourcing the environment script using the initialization utility to initialize all the tools in one step:
  1. Determine your installation directory,
    1. If your compiler was installed in the default location by a root user or sudo user, the compiler will be installed under
      . In this case,
    2. For non-root users, your home directory under
      is used. In this case,
      will be
    3. For cluster or enterprise users, your admin team may have installed the compilers on a shared network file system. Check with your local admin staff for the location of installation (
  2. Source the environment-setting script for your shell:
    1. bash:
      source <install_dir>/bin/ intel64
    2. csh/tcsh:
      source <install_dir>/bin/compilervars.csh intel64
  3. If you want to use the 32bit ia32 compiler instead of the default 64bit compiler, replace
    in the source command above with
    . For example:
    1. bash:
      source <install_dir>/bin/ ia32
    2. csh/tcsh:
      source <install_dir>/bin/compilervars.csh ia32

Option 1: Use the Command Line

Use the commands below to invoke the compiler from the command line.
  • For C source files:
    icc helloworld.c
  • For C++ source files:

Option 2: Use the Eclipse* CDT

Follow the steps below to invoke the compiler from within the Eclipse* CDT.
Step 1: Install the Intel® Compiler Eclipse CDT plugin.
  1. Start Eclipse
  2. Select
    Help > Install New Software
  3. Select
    to open the Add Site dialog
  4. Select
    , browse to
    (the default path for the
    ), then select
  5. Deselect
    Group items by category
  6. Select the options beginning with Intel, select
    , then follow the installation instructions
  7. When asked if you want to restart Eclipse*, select
Step 2: Build a new project or open an existing project.
  1. Open Existing Project or Create New Project on Eclipse
  2. Right click on
    Project > Properties > C/C++ Build > Tool chain Editor
  3. Select
    Intel C++ Compiler
    from the right panel
Step 3: Set build configurations.
  1. Open Existing Project on Eclipse
  2. Right click on
    Project > Properties > C/C++ Build > Settings
  3. Create or manage build configurations in the right panel

Next Steps

Find More: Intel® C++ Compiler

The Developer Guide and Reference contains information on:
  • How to use the command line
    or the Eclipse* CDT
  • Support for the latest compiler technologies and architectures.
  • Compiler reference material, including options, program structures, class and math libraries, and much more
Information on product installation, new and changed features, and issues that are not described in the product documentation.
This link takes you an archive of Intel® C++ Compiler release notes on the Intel® Developer Zone.
Find the latest code samples and product support. Learn specific compiler optimizations, features, tools, and programming concepts.
Software product documentation on the Intel® Developer Zone.
Other Help
You can access general help for compiler options after setting up the environment by entering
at the command line.

Find More: Intel® Product Suites

The online training sites are an excellent resource for training on using the compiler in conjunction with your product suite.
Information on the product installation, new and changed features, and issues that are not described in the product documentation.
These links take you to the Intel® Developer Zone.
Code Samples and Tutorials
Code samples and corresponding tutorials. Learn specific compiler optimizations, features, tools, and programming concepts.
This document supplement contains information specific to Intel® System Studio.

Notices and Disclaimers

Intel, the Intel logo, Intel Atom, Intel Core, Intel Xeon Phi, VTune and Xeon are trademarks of Intel Corporation in the U.S. and/or other countries.
*Other names and brands may be claimed as the property of others.
© Intel Corporation.
This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you (
). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission.
This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License.

Product and Performance Information


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