Initial commit: kernel source and build scripts

This commit is contained in:
AfonsoCMSousa
2025-11-14 22:20:27 +00:00
commit 1934e66796
6 changed files with 136 additions and 0 deletions
Executable
+8
View File
@@ -0,0 +1,8 @@
echo ">>> Compiling bootloader"
nasm boot.asm -o boot.o -f elf64
echo ">>> Compiling kernel"
gcc kernel.c -o kernel.o -c -m64 -ffreestanding -nostdlib
echo ">>> Linking kernel"
ld -T linker.ld -o SoraOS boot.o kernel.o