The Intel® C++ Compiler compiles C and C++ source files for Intel® 64 architecture.

Start using the compiler from the command line or within Xcode*.


Before you can use this tool, you must first set the environment variables by sourcing the environment script as described in the edition-level Getting Started documentation.

Using the Command Line

To invoke the compiler from the command line, use a command similar to the following:

  • For C source files: icc my_source_file.c

  • For C++ source files: icpc my_source_file.cpp

Following successful compilation, the compiler creates an executable file in the current directory.

Start from Xcode*

You must first create or choose an existing Xcode* project. These instructions assume you are using an existing project.

  1. Select the target you want to change and click Build Rules.

  2. Add a new rule by clicking a + button or using Editor > Add Build Rule.

  3. Under Process, select C source files or C++ source files depending on the source files.

  4. Under Using, select ICC Intel® C++ Compiler 17.0.

  5. Select the target to be built in the project editor under Targets.

  6. Select Product > Build.

Training and Documentation

Document Description

Online Training

The online training site is an excellent resource for training on using the compiler:

Release Notes

Information on the product installation, new and changed features, and issues that are not described in the product documentation.

Samples and Tutorials

Code samples and corresponding tutorials. Learn specific compiler optimizations, features, tools, and programming concepts.

Intel® C++ Compiler 17.0 Developer Guide and Reference

The Intel® Compiler documentation contains information on:

  • How to use the command line or Xcode*

  • Support for technologies including Intel® Cilk™ Plus

  • Compiler reference material, including options, program structures, class and math libraries, and much more

OpenMP* 4.5 API C/C++ Syntax Quick Reference Card

Provides a summary of the OpenMP specification.

Intel® Software Documentation Library

Software product documentation

Other help

You can access general help for compiler options after setting up the environment by entering icc -help or man icc at the command line.

For more complete information about compiler optimizations, see our Optimization Notice.