I use
Code: Select all
nasmw -o start.o start.asm -f aout
Code: Select all
gcc -c -ffreestanding -o kernel.o kernel.c
Both things worked, but linking it together with
Code: Select all
ld -Ttext 0x1000 --oformat binary -o kernel.bin start.o kernel.o
But i remember that this worked back when i had a linux system...
What do i have to do to link my kernel?
Do i have to install linux again... or is there any possibility to link it under windows?
Thanks.