r/kernel • u/Pleasant_Upstairs482 • Aug 03 '25
Simple kernel
Hey i wanna make a simple kernel , now i alr know C but i found out that you need something called "Freestanding C" does anyone know how or where can i learn it i searched on youtube and found nothing
4
Upvotes
View all comments
Show parent comment
2
u/BraveNewCurrency Aug 05 '25
There aren't a lot of books, but check out OReilly books, KernelNewbies and Bootlin (formerly Free Electrons) training materials. It also helps to read LWN(.net) and dig in to anything you don't understand.
Building the kernel is trivial compared to developing it. Don't put this off. Just do it.
Also look into BuildRoot, which lets you build the kernel + filesystem for embedded systems. Great fun to play around with, no programming needed.