Boost logo

Boost-Build :

Subject: [Boost-build] building boost for Intel 64-bit
From: firespot (firespot71_at_[hidden])
Date: 2012-08-01 12:32:29


Hi,

So looking backward on a history of bumps compiling boost with
not-so-standard compilers, I better ask here before adding more bumps:

Task is to compile boost for 64-bit binaries using Intel 12.1 on Windows
(32-bit compilation worked out withouth problems). So I need to set
compiler vars, configure user-config.jam to using the intel compiler,
all good. But I get stuck when it gets to building b2 - bootstrap.bat
invokes engine\build.bat, which only supports intel-win32 as toolset
(which I have used for 32-bit build), there is nothing generic for
intel-win, nor anything along the lines of intel-win64. So ... ??

I found this ticket here:
https://svn.boost.org/trac/boost/ticket/5305

This provides a fix which may or may not be implemented by now, don't
know, and at the bottom verbal instructions. I am puzzled though that a)
b2 is built using vc10 in AMD64 mode as toolchain - is it reliable to
building b2 using a different toolchain than the one used for building
the boost library itself? Second, b2 invokes the 32-bit Intel compiler
version; I'd have expected the 64-bit version instead, but it might be
ok (e.g. for MSVC the 32-bit compiler is also initially invoked to
compile 64-bit libs).

And to add a further question: What further steps need to be done to
make Intel and MSVC boost builds binary compatible, and is there some
way to using the MSVC boost binaries directly instead of Intel builds? I
tried creating a simple test program relying on binaries but at linking
it wanted to auto-link agains intel libraries instead of using MSVC
ones, and I don't know how to tell it doing otherwise.

cheers and thanks!


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