mirror of
https://github.com/originalmk/mkos32.git
synced 2024-11-20 09:08:50 +00:00
5 lines
264 B
Bash
5 lines
264 B
Bash
|
#!/bin/bash
|
||
|
../Kompilator/cross/bin/i686-elf-gcc -c kernel.c -o kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra
|
||
|
../Kompilator/cross/bin/i686-elf-gcc -T linker.ld -o mkos.bin -ffreestanding -O2 -nostdlib boot.o kernel.o -lgcc
|
||
|
qemu-system-i386 -kernel mkos.bin
|