Re: [PATCH v3 2/2] Makefile: infer CROSS_COMPILE from SRCARCH for CC=clang LLVM_IAS=1

From: Miguel Ojeda
Date: Fri Jul 30 2021 - 02:51:05 EST


On Fri, Jul 30, 2021 at 2:19 AM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> maximally flexible." We don't want folks generally using CC=clang;
> preferably they'd use LLVM=1. I need to rewrite our docs to make that
> more explicit and straightforward. And if folks would prefer to use
> CC=clang for whatever reason, let them explicitly state CROSS_COMPILE
> then.

Perhaps it would be nice to clarify the "level of support" for
`CC=clang` too, in particular long-term when `LLVM=1` works for all
architectures.

In other words, is `CC=clang` going to remain supported/maintained, or
it will be something that will still compile/boot but not expected to
be used by anyone in production, or dropped altogether (not the `CC`
option itself, of course, I refer to the mix of toolchains)?

Thanks,

Cheers,
Miguel