Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Building Boost with Intel® C++ Compiler 15.0

$
0
0

Introduction:

This document explains how to build Boost using the Intel® C++ Compiler 15.0.0. From the Boost web site:

Boost provides free peer-reviewed portable C++ source libraries.

We emphasize libraries that work well with the C++ Standard Library. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications. The Boost license encourages both commercial and non-commercial use.

We aim to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization. Ten Boost libraries are included in the C++ Standards Committee's Library Technical Report (TR1) and in the new C++11 Standard. C++11 also includes several more Boost libraries in addition to those from TR1. More Boost libraries are proposed for standardization in C++17.

Follow the Getting Started Guide† which answers some open questions for details on how to download and install Boost.

Version:

The version of Boost used in this document is 1.56.0.

Obtaining Source Code: 

The Boost source code was downloaded from http://sourceforge.net/projects/boost/files/

Configuration Set Up and Bulld Process: 

Linux* and OS X*

  1. Run "source <compiler root>/bin/compilervars.sh {ia32 OR intel64}" or
    "source <compiler root>/bin/compilervars.csh {ia32 OR intel64}"
  2. cd <boost root>/tools/build
  3. ./bootstrap.sh
  4. ./b2 install --prefix=<Boost.Build install dir>
  5. Add <Boost.Build install dir>/bin to your PATH
  6. cd <boost root>
  7. b2 --build-dir=<Boost object directory> toolset=intel stage

Windows*

  1. Run "<compiler root>\bin\compilervars.bat {ia32 OR intel64} {vs2010 OR vs2012 OR vs2013}"
  2. cd <boost root>\tools\build
  3. bootstrap.bat
  4. b2 install --prefix=<Boost.Build install dir>
  5. Add <Boost.Build install dir>\bin to your PATH
  6. cd <boost root>
  7. b2 --build-dir=<Boost object directory> toolset=intel --build-type=complete stage

 


Viewing all articles
Browse latest Browse all 3384

Trending Articles