top | item 46914854

(no title)

cma | 23 days ago

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

discuss

order

f1shy|21 days ago

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.

icedchai|21 days ago

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.

cma|21 days ago

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