mirror of
https://github.com/originalmk/mkos32.git
synced 2024-11-20 17:08:52 +00:00
5 lines
367 B
Bash
5 lines
367 B
Bash
|
#!/bin/bash
|
||
|
../../Kompilator/cross/bin/i686-elf-as ../source/boot.s -o ../build/boot.o
|
||
|
../../Kompilator/cross/bin/i686-elf-gcc -c ../source/kernel.c -o ../build/kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra
|
||
|
../../Kompilator/cross/bin/i686-elf-gcc -T ../source/linker.ld -o ../build/mkos.bin -ffreestanding -O2 -nostdlib ../build/boot.o ../build/kernel.o -lgcc
|