2 ms·
https://www.kernel.org/doc/html/latest/kbuild/llvm.html https://www.kernel.org/doc/html/latest/kbuild/llvm.html
by fanf2 5mo ago
https://www.kernel.org/doc/html/latest/kbuild/llvm.html https://www.kernel.org/doc/html/latest/kbuild/llvm.html
- Maxatar 5mo agoThat's a good point, the more precise statement is that Linux exclusively uses gnu11 to compile. Clang happens to implement gnu11, I think it's the only non-GCC compiler to do so.
- pjmlp 5mo agoWhich was largely sponsored by Google, as they removed GCC from Android, and needed to have clang compile the Linux kernel. For a long time only Android Linux kernel downstream supported it.