Boost logo

Boost-Build :

Subject: [Boost-build] Building boost with Intel icpc on Linux Mint (Ubuntu 14.04)
From: Andreas Delleske (delleske_at_[hidden])
Date: 2016-01-04 09:19:10


Dear list,

I am still having trouble to understand the different steps to building
boost, but I am willing to take as much time and effort as needed.

As far as I understand, I'll have to "produce" an installer called "b2"
first. At the end, I will have to compile boost with an Intel 2016
compiler, but I've heard that in order to "make" the b2, gcc can be used.

Q1. Is that correct?

I do have "bjam" installed

boss boost_1_60_0 # which bjam
/usr/bin/bjam

but bootstrap.sh does not seem to be very impressed when I offer that.

Q2. Can I use a local bjam at all?

By the way: On page
http://www.boost.org/doc/libs/1_60_0/more/getting_started/unix-variants.html
- the link within "If you previously chose a toolset for the purposes of
building b2, you should assume it won't work and instead choose newly
from the table below" that points to "building b2" is broken and
complains about too many or wrong redirections.

Q3. I am also wondering: In the table right below these notes, a toolset
name like "intel" is given, while I always had to use "intel-linux".
What is the difference, when do I need which?

So -

I have boost unpacked into /opt/boost/1.60.0/boost_1.60.0 - my working
directory at the moment.

So I start with

# ./bootstrap.sh --with-toolset=gcc --prefix=/opt/boost/1.60.0/intel-2016

I'm not sure if I have to specify the what I think should be the final
destination for the boost files already here.

BTW: If I try to use

# ./bootstrap.sh --with-toolset=intel-linux
--prefix=/opt/boost/1.60.0/intel-2016

I get a lot of errors. Other mailing list readers here suggested that
has to do with a "compatibility mode" of the Intel compiler for a (very
old) gcc 3.2. Might be - I don't have gcc 3.2, my gcc is 4.8.4 comes
with Ubuntu 14.04 that is the base of Linux Mint 17.3 which I use

I'm with the Intel guys to check that out already. It's going to be a
looong week.

Before I continue: I bet you see already where I'm wrong, please
enlighten me. The documentation seems to be very terse and I seem to be
missing a lot of the prerequisites that have to be installed in my brain
first before I can start the installation of the software on our machines.

Cheers
Andreas


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk