On 2022-03-12, Nikos Chantziaras <rea...@gmail.com> wrote: > On 12/03/2022 18:03, Grant Edwards wrote: >> On 2022-03-12, Nikos Chantziaras <rea...@gmail.com> wrote: >>> On 12/03/2022 10:43, Dale wrote: >>>> https://bugs.gentoo.org/767700 >>>> >>>> Is that the one? It mentions the target but I don't quite understand >>>> the why. The biggest thing, will this break something if I let it do >>>> it? >>> >>> No. Unlike GCC, LLVM/Clang is always a cross-compiler. >> >> You can't use LLVM/Clang to compile for the host on which it's >> running? > > Why not?
Because "LLVM/Clang is always a cross compiler". A cross compiler is a compiler that compiles for a target architecture/OS different than that of the host on which it is running. Therefore, LLVM/Clang always compiles for a target architecture/OS different than that of the host on which it is running. -- Grant