Subject: [Boost-bugs] [Boost C++ Libraries] #7026: bjam: Use 64-bit MSVC tools on Win64, even in a 32-bit shell
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-26 09:43:55
#7026: bjam: Use 64-bit MSVC tools on Win64, even in a 32-bit shell
--------------------------------------+-------------------------------------
Reporter: frank.richter@⦠| Type: Patches
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.50.0
Severity: Optimization | Keywords:
--------------------------------------+-------------------------------------
When building with `toolset=msvc address-model=64` in a 32-bit shell on
Win64, the cross tools (32-bit targeting 64-bit) instead of the native
64-bit tools are used. The reason is the `PROCESSOR_ARCHITECTURE` env var
pretending to be a 32-bit environment. However, on 64-bit Windows, the
correct native value can be found in `PROCESSOR_ARCHITEW6432`.
The attached patch makes the logic to determine the tools to use respect
that alternative variable.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7026> 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:09 UTC