Re: compiling for msvc arm64
John Maddock via Boost-build <[email protected]> Tue, 3 Dec 2019 18:06:23 +0000
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build