diff options
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..e2d47c0 --- /dev/null +++ b/build.sh @@ -0,0 +1,11 @@ +echo 'Compiling...' +nasm -f elf32 kernel.asm -o kasm.o +gcc -m32 -c kernel.c -o kc.o -ffreestanding +echo 'Linking the 2 kernels...' +ld -m elf_i386 -T link.ld -o aleeos/boot/kernel.bin kasm.o kc.o +echo 'Generating ISO and grub...' +grub-mkrescue -o aleeos.iso aleeos/ +echo 'Launching QEMU...' +qemu-system-x86_64 -kernel aleeos/boot/kernel.bin + +read a
\ No newline at end of file |
