how to compile c code so it can run without os. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

how to compile c code so it can run without os.

we need different compilers for same c code for linux and windows because they have different ABI. Now what if i want to make my own OS or BIOS which will run without any OS(and ABI). Which compiler will i use. And how it all will work.

4th Jan 2018, 6:18 PM
shobhit
shobhit - avatar
1 Answer
0
wow. difficult one. i would say you would have to write your own compiler made exclusively for your own os.
4th Jan 2018, 7:21 PM
storm
storm - avatar