|
Boost Users : |
Subject: Re: [Boost-users] Building Boost 1.60 with VS2015 - 32 bit compiler is always selected
From: Emmanuel (emmanuel.pot_at_[hidden])
Date: 2016-02-01 03:02:45
Hello,
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 ?
Cheers,
Emmanuel
On Sat, 30 Jan 2016 at 19:08 Tiago Gehring <tiagogehring_at_[hidden]> wrote:
> Hi,
>
> 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
> ....
>
> C:\Users\Tiago\code\boost_1_60_0>*cl*
> 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
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net