I am compiling with Visual Studio 2013 with a similar command line, and it is true that I get the same strange "32 bits: yes". But after that, I am linking against a 64bits application, and it works fine. Maybe this is merely a bug in the b2 output ?


On Sat, 30 Jan 2016 at 19:08 Tiago Gehring <tiagogehring@gmail.com> wrote:

I'm trying to build Boost 1.60 with Visual Studio 2015 Update 1 in 64-bit mode but it seems to be ignoring the address-model=64 parameter and always builds a 32-bit version (I called b2 from the VS2015 Native tools for x64 command prompt):

C:\Users\Tiago\code\boost_1_60_0>b2 --toolset=msvc-14.0 variant=release link=static threading=multi address-model=64 architecture=x86
Performing configuration checks

    - 32-bit                   : yes
    - arm                      : no
    - mips1                    : no
    - power                    : no
    - sparc                    : no
    - x86                      : yes

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]


I saw in some ond discussion mentions to explicitly select the compiler version (I also have VS2010 and VS2012 installed) and environment variables batch file (in the project-config.jam file) but this didn't help either.

Any help is really appreciated.

Best regards,
Tiago Gehring
Boost-users mailing list