Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Intel® System Studio 2016: Getting Started with the Intel® C++ Compiler 16.0 for FreeBSD*

$
0
0

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

Prerequisites

Before you can use this tool, you must first set the environment variables by running the environment script. To run the script, enter one of the following from a BASH shell or a C shell:

  • BASH shell:

    $ . <install-dir>/bin/compilervars.sh

  • C shell:

    $ source <install-dir>/bin/compilervars.csh

where <install-dir> is the top-level installation directory.

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.

Documentation and Resources

DocumentDescription

Samples

Online Intel® C++ Compiler code samples - https://software.intel.com/en-us/code-samples/intel-c-compiler

Learn specific compiler optimizations, features, tools, and programming concepts.

Intel® C++ Compiler 16.0 User and Reference Guide Supplement for Intel® System Studio 2016

This document supplement contains information specific to Intel® System Studio.

User and Reference Guide for Intel® C++ Compiler 16.0

The Intel® Compiler documentation contains information on:

  • How to use the command line

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

Web Resources

Other help

You can access general help for compiler options by entering icc -help at the command line.


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>