Boost logo

Boost :

Subject: Re: [boost] Build breaking changes
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2018-03-29 17:00:30


On Thu, Mar 29, 2018, 16:51 Peter Dimov via Boost <boost_at_[hidden]>
wrote:

> Either way, this thread was not originally about the default address-model.
> It was about what was built by default for `b2 --build-type=minimal` (which
> is the default). Under Linux, this builds the default address-model, which
> is 64 bit on a 64 bit OS. Under Windows, it used to build 32 bit, and I
> changed it to build both 32 and 64 bit.
>

Some MinGW do not support 64 bit builds at all (here's an example
https://ci.appveyor.com/project/apolukhin/boost-cookbook/build/1.65.130-second_edition/job/9o0t8f1o2s5drdue
)

IMO a good solution for this issue would be to test for an ability of the
compiler to do 64bit builds. If it does not support 64 bit builds - just
disable them and build i 32 bit mode.

About 32 or 64 bits by default... I'd prefer 64 bits as a more modern
solution. Users always can switch back to 32 if they have a need.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk