Lines Matching full:clang
4 Building Linux with Clang/LLVM
7 This document covers how to build the Linux kernel with Clang and LLVM
14 such as GCC and binutils. Ongoing work has allowed for `Clang
15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be
19 <https://www.openmandriva.org/>`_ use Clang built kernels. `LLVM is a
21 <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM that
25 Clang chapter
31 make CC=clang defconfig
33 make CC=clang
38 A single Clang compiler binary will typically contain all supported backends,
41 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make CC=clang
43 ``CROSS_COMPILE`` is not used to prefix the Clang compiler binary, instead
47 clang --target=aarch64-linux-gnu foo.c
59 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \
61 HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld
70 - `Mailing List <https://groups.google.com/forum/#!forum/clang-built-linux>`_: <clang-built-linux@g…
89 - https://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source
90 - https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/