Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's quite the milestone to achieve. I'm actually really happy to see this happen in light of the negative rap C seems to be getting just about everywhere.

C is far from dead, it may have its warts but it is still very much in use in all kinds of places and a solid knowledge of C has never hurt anybody (as far as I know).

Being able to compile the linux kernel and to get it to boot is a non-trivial exercise in GCC compatibility, I'm very impressed with this.

I wonder if there ever will be an official 'blessing' by the kernel devs of the LLVM C compiler.



I don't see why not in the long run if the devs bend over backward to maintain GCC compatibility on x86. It is never a great idea to have a single point of failure even if that point is the wonderful and awe-inspiring GCC. It is amazing to think that nearly 20 years after conception Linux maybe be built with an alternate tool chain. This is an incredible feat that has far-reaching consequences for the health of the ecosystem. Maybe Linus wasn't keen on the idea but if some people step up and bake in the support it'll be de facto blessed.

Slightly off-topic, does anyone know if the Gold linker works with Clang?


Gold should work.

ICC has been able to compile Linux for awhile, I think.


It's unlikely that it'll get that 'blessing' - a while back certain versions of GCC were recommended against by Linus.

Also, on some esoteric platforms, GCC dropped compatibility. For example, OpenBSD still supports an older version of GCC for VAX and m88k platforms IIRC.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: