[Buildroot] [autobuild.buildroot.net] Your daily results for 2019-11-06
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Nov 9 13:30:00 UTC 2019
On Sat, 9 Nov 2019 14:09:50 +0100
Romain Naour <romain.naour at gmail.com> wrote:
> Well, It's the same problem as for using llvm/clang on the host to build some
> host tools. For your case you have to build hos-llvm with your host variant
> (x86_64 for example) (LLVM_TARGETS_TO_BUILD).
>
> But since we use the same LLVM_TARGET_ARCH for the host-llvm and llvm, we need
> to use -target x86_64-linux-gnu when using clang.
Wouldn't it be more "natural" for clang to by default produce binaries
for the host, and when you want to cross-compile, have to explicitly
pass -target arm-something-something ?
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list