I am new to OS development. I have just used gcc and nasm to create two .o files (one being kernel.o, and the other being main.o).
They both compile fine. However, when I come to use the LD Linker, I get an error:
This is the command line I am using for LD:kernel.o: file not recognized: File format not recognized
I would appreciate a response.ld -e _begin -Ttext 0x1000 -o first.bin kernel.o main.o
Cheers, ollie123.