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

You can one shot prompt a toy C compiler. Getting one that can compile Linux in a bootable way is significantly harder.




Everybody talks as Linux is the most difficult thing to compile in the world. The reality is that linux is well written and designed with portability with crappy compilers in mind from the beginning.

Also, the booting part, as stated some times, is discutable.


The reality is you can build Linux with gcc and clang. And that’s it. Years ago you could use Intel’s icc compiler, but that stopped being supported. Let’s stop pretending it’s an undergrad project.

Just writing a non-toy C preprocessor is non-trivial.



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

Search: