
16 Sep
2025
16 Sep
'25
6:19 a.m.
On 2025-09-09 09:30, Дмитрий Архипов wrote:
I build using this command line: ./b2 --user-config=./user-config.jam --prefix=$HOME/boost-1.82.0 target-os=windows address-model=64 variant=release install
but I get these messages when building boost.context:
Boost.Context often needs more information about your target platform. It defaults to using the properties of your build platform, but when cross-compiling those defaults are obviously wrong. This is what's happening here: it tries to use assembler files for SysV ABI. You need to add `binary-format=pe abi=ms` to your invocation command.
Hi, yes, it works! many thanks! best!