GCC compiles fine, but ld.exe creates this error:Compiler/Linker Commands wrote: C:\MingwGCC\bin\gcc.exe -Wall -O -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -c -o main.o main.c
C:\Osdever\NASM\nasm.exe -f aout -o start.o start.asm
C:\MingwGCC\bin\ld.exe -T link.ld -o kernel.bin start.o main.o
I have been using MingW with Graphic Libraries and wxWidgets in Code::Blocks for years. I have never experienced this problem before. Can anyone help?Error by ld.exe- the linker! wrote: start.o: file not recognized: File format not recognized
PS. For those curious about making their own kernel and OS, go to http://www.osdever.net.
_________________
