Boost logo

Boost-Build :

Subject: Re: [Boost-build] libs build errors "64 bit mode not compiled in"
From: Robert (r.firl_at_[hidden])
Date: 2018-05-25 19:59:47


On 5/25/2018 5:14 AM, Mateusz Loskot via Boost-build wrote:
> On 25 May 2018 at 12:10, Benjamin Müller via Boost-build
> <boost-build_at_[hidden]> wrote:
>> Hello,
>> I used the option you gave me, and further I built only the libraries I
>> really need (thread, atomic, container). My build command looks like this
>> now:
>> b2 -j2 --build-dir=D:\boost_1_67_0\boost_1_67_0\Build --address-model=32
>
> Shouldn't
> --address-model=32
> read
> address-model=32
> ?
>
That is the correct way to set the address-model. A 64-bit truncated
example using the path above:

b2 --build-dir="D:\boost_1_67_0\boost_1_67_0\Build"
--libdir="D:\boost_1_67_0\boost_1_67_0\Build\lib" architecture=x86
address-model=64 toolset="msvc-14.1" --with-test

--Robert

> AFAIU, address-model is a build feature as toolset, variant, etc.
>
> Best regards,
>


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