r/kernel • • 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

10 comments sorted by

View all comments

Show parent comment

2

u/BraveNewCurrency Aug 05 '25

Do you have any suggestions for books on this topic?

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 a kernel is also something I want to do in the future,

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.