This project is a minimal kernel written in C and Assembly, booted using limine and tested in QEMU. It's designed for learning the low-level fundamentals of operating systems.
Make sure the following packages are installed:
sudo dnf install gcc binutils make grub2-tools-extra xorriso qemu-system-i386 wget curlsudo apt install gcc binutils make grub-pc-bin xorriso qemu-system-i386 wget curlchmod u+x build-cross.sh
bash build-cross.shThis will:
- Download and build binutils and gcc targeting i686-elf
- Install them into ./cross
- Leave your system GCC untouched
make # Builds everything and produces k0.iso
make run # Boots it in QEMU
make clean # Removes build artifacts (but keeps the toolchain)
make clean-cross # Removes everything including the cross-compiler