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

> And of course, once your code does not target just one single machine then you're forced to have to worry about portability and standard compliance etc.

Well linux exclusively usages gcc to compile.




That'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.


Which 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.


Yes, sorry, mistype, that should have been "single kind of machine" or "single operating system".




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

Search: