Switched FASM to NASM
If I'm gonna port a C compiler I might as well use and port NASM as it is more widely used anyway
This commit is contained in:
parent
5badddbada
commit
e21e42d318
3 changed files with 17 additions and 19 deletions
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ clean:
|
|||
-@rm build/*.o build/*.elf 2> /dev/null || true
|
||||
|
||||
build/start32.o: build/ src/start32.asm
|
||||
fasm src/start32.asm build/start32.o
|
||||
nasm -felf32 src/start32.asm -o build/start32.o
|
||||
build/kernel-i386.elf: build/start32.o
|
||||
tcc -m32 -nostdlib -Wl,-Ttext,0x100000 -o build/kernel-i386.elf src/*.c build/start32.o
|
||||
image: build/kernel-i386.elf mount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue