XenonOS is a hobbyist kernel project started during the quarantine. It's being written in C++17.
(identifying a AHCI SATA disk + listing ext2 dirs)
The first build will download and compile binutils and gcc to cross-compile the project.
% ./build.sh --build --debug --qemu
Debugging the code with GDB is simple:
% ./build.sh --build --debug --qemu --gdb
It will launch QEMU in debug mode and start GDB in a new terminal:
- grub-common
- grub-pc-bin
- xorriso
- libmpc-dev
- libgmp3-dev