[boost] Build boost with Intel compiler 16.0.XXX

Source: Internet
Author: User

Introduction

There is few information about what to compile boost with Intel compiler. This article are to describe a simple command steps to let you get a boost library with Intel compiler support.

Steps Step 1:start your Intel compiler cmd window

Start your Intel cmd window from "Start-and Intel Parallel Studio XXX--click the environment your need."

step 2:change The directory to boost root

CD X:\your\boost\root

Step 3:compile B2

Bootstrap.bat

step 4:compile your own boost

With one of the following command.

For 32-bit (please execute them separately)

B2.EXE toolset=Intel-16.0Variant=ReleaseLink=Static threading=Multi Runtime-link=Static -A - QB2.EXE toolset=Intel-16.0Variant=DebugLink=Static threading=Multi Runtime-link=Static -A - QB2.EXE toolset=Intel-16.0Variant=ReleaseLink=Static threading=Multi Runtime-link=Shared -A - QB2.EXE toolset=Intel-16.0Variant=DebugLink=Static threading=Multi Runtime-link=Shared -A - Q

For 64-bit: (please execute them separately)

B2.EXE address-model= -Toolset=Intel-16.0Variant=ReleaseLink=Static threading=Multi Runtime-link=Static -A - QB2.EXE address-model= -Toolset=Intel-16.0Variant=DebugLink=Static threading=Multi Runtime-link=Static -A - QB2.EXE address-model= -Toolset=Intel-16.0Variant=ReleaseLink=Static threading=Multi Runtime-link=Shared -A - QB2.EXE address-model= -Toolset=Intel-16.0Variant=DebugLink=Static threading=Multi Runtime-link=Shared -A - Q

Note : Use your own version of Intel compiler.
If you encounter a error Like:intel compiler not found. Following the steps below.

Append Steps
    • Open the file of "Boost_root\tools\build\src\tools\intel-win.jam"
    • Scroll to the most bottom and edit them like the text below "
....Intel-autodetect-versions = 16.0 15.0 14.0 13.0 12.0;.Iclvars-12.0-supported-vcs = "10.0 9.0 8.0";.Iclvars-12.1-supported-vcs = "10.0 9.0 8.0";.Iclvars-13.0-supported-vcs = "11.0 10.0 9.0";.Iclvars-14.0-supported-vcs = "12.0 11.0 10.0 9.0";.Iclvars-15.0-supported-vcs = "12.0 11.0 10.0 9.0";.Iclvars-16.0-supported-vcs = "13.0 12.0 11.0 10.0 9.0";.Iclvars-version-alias-VC12 =vs2013;.Iclvars-version-alias-vc11 =vs2012;.Iclvars-version-alias-VC10 =VS2010;.Iclvars-version-alias-VC9 =vs2008;.Iclvars-version-alias-vc8 =vs2005;.ICl-target-subdirectories =Ia32 Ia32_intel64 Intel64;....
Conclusion

Boost with the Intel compiler support are quit good and valuable to use! Enjoy it!!

[boost] Build boost with Intel compiler 16.0.XXX

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.