Re: Crocc-compiling Boost from Linux for windows
Дмитрий Архипов via Boost-users <[email protected]> Tue, 9 Sep 2025 12:30:50 +0300
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <CAKEcVxU_k0_Q7QRBAa6i7Xeca1MtLkoz7kio1U1oeoM1nGgQ5A@mail.gmail.com> |
> 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. _______________________________________________ Boost-users mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.boost.org/mailman3/lists/boost-users.lists.boost.org/ Archived at: https://lists.boost.org/archives/list/[email protected]/message/6GZWHGZGDDKDAUJACYL4Q2ESJZBWCWC5/