Hacker News new | past | comments | ask | show | jobs | submit login

Can Linux compile under clang nowadays?



While sibling comment is correct that the simple answer is "yes", I'd like to add that Google uses Clang as the preferred compiler for Android. There's a little bit of drift between Android's version of Linux and mainline, but the effect is still that building Linux with Cland is being extensively used and tested.



Yes, when that Linux variant is called Android.

Since almost 5 years by now.




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

Search: