Re: [Boost-bugs] [Boost C++ Libraries] #5305: Compiling boost 1.46.1 with bjam under Windows 7 using MSVC 2010 and Intel Compiler XE 2011.0.154

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5305: Compiling boost 1.46.1 with bjam under Windows 7 using MSVC 2010 and Intel Compiler XE 2011.0.154
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-14 12:37:52


#5305: Compiling boost 1.46.1 with bjam under Windows 7 using MSVC 2010 and Intel
Compiler XE 2011.0.154
------------------------------------------------+---------------------------
  Reporter: Edward Rankin <erankin@…> | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Building Boost
   Version: Boost 1.46.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------+---------------------------

Comment (by lelouch <lelouch.g34ss@…>):

 What doesn't work?
 For the 64-bit build you need a 64-bit bjam, because of the variable that
 is checked if it should build native 64-bit or cross compile. Perhaps
 someone knows a reliable way to determine if the os is 32-bit or 64-bit.
 To build bjam as a 64-bit version i executed the following command:
 F:\Libs\boost_1_48_0\tools\build\v2\engine>build vc10 amd64

 In the config.jam i have the following line:
 using intel : 12.1 : "C:/Program Files (x86)/Intel/Composer XE 2011
 SP1/bin/ia32/icl.exe" : <compatibility>vc10 <cxxflags>"/Qstd=c++0x /Qipo"
 <define>_CRT_SECURE_NO_WARNINGS ;

 To build the 32-bit dlls:
 F:\Libs\boost_1_48_0>.\tools\build\v2\engine\bin.ntx86_64\bjam.exe -j8
 --toolset=intel --user-config=config.jam variant=debug variant=release
 threading=multi link=shared runtime-link=shared address-model=32
 --without-mpi --without-python stage

 To build the 64-bit dlls
 F:\Libs\boost_1_48_0>.\tools\build\v2\engine\bin.ntx86_64\bjam.exe -j8
 --toolset=intel --user-config=config.jam --stagedir=stage64 variant=debug
 variant=release threading=multi link=shared runtime-link=shared address-
 model=64 --without-mpi--without-python stage

 Hope this helps. I'm also attaching the whole intel-win.jam

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5305#comment:9>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC