Re: How to build the kernel with Clang?

From: Chuck Ebbert
Date: Fri Sep 19 2014 - 03:10:30 EST


On Fri, 19 Sep 2014 13:10:21 +0900
Masahiro Yamada <yamada.m@xxxxxxxxxxxxxxxx> wrote:

> Hi Clang folks,
>
>
> I'd like to know the status of Clang support
> in the Linux mainline.
>
>
> I can see some "clang" specific parts in makefiles,
> so I guess Clang is already supported to a certain extent.
>
>
> I just tried to build with "HOSTCC=clang CC=clang"
> but it would not work.
>
> Is there any tips I am missing here?
>

Let Me Google That For You:

http://llvm.linuxfoundation.org/index.php/Main_Page
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/