|
Boost-Build : |
From: John Maddock (jz.maddock_at_[hidden])
Date: 2019-12-03 18:06:23
On 03/12/2019 08:49, ethn v via Boost-build wrote:
> Hi all,
> Â I was intending to compile boost for msvc arm64.
> Â When I execute the following command,
> b2 toolset=msvc architecture=arm64 address-model=64
> Â I get an error saying that arm64 is not an valid architecture. Can
> someone pls point me to the correct way to build arm64 with msvc v141?
The "obvious" variation:
b2 toolset=msvc architecture=arm address-model=64
appears to work, though it doesn't, so far as I can tell, inject any
/arch= options to the compiler, so I guess you'd probably better make
sure that the arm64 cross compiler is in your path when invoking b2 (but
I might be wrong on that).
BTW the error message when specifying arm64 as the architecture is:
error: "arm64" is not a known value of feature <architecture>
error: legal values: "x86" "ia64" "sparc" "power" "mips1" "mips2"
"mips3" "mips4" "mips32" "mips32r2" "mips64" "parisc" "arm" "riscv"
"s390x" "combined" "combined-x86-power"
which sort of provides a clue I think ;)
HTH, John.
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