Re:A Month on Chimera Linux
by lemper on Sunday July 16, 2023 @02:05AM
(#36744123)
iirc, plain linux cannot be compiled without gcc. pretty sure there's this project (which, for the life of me, i can't remember the namełthat makes it possible to do so. so, does chimaera uses that project's work?
[ Parent
| on HN ]
The Linux kernel can be compiled using llvm: https://www.kernel.org/doc/html/latest/kbuild/llvm.html
In addition to what reocha said, ClangBuiltLinux is the project you're probably thinking of. They track issues building with clang and provide CI: https://clangbuiltlinux.github.io/
Re:A Month on Chimera Linux
by yjftsjthsd-h on Sunday July 16, 2023 @02:26AM
(#36744186)
That used to be true, but the work to compile Linux with clang was mainlined a while ago now. And IIRC Google builds their kernels with it (including Android and ChromeOS) so it's definitely getting used/tested.