Also ich will ne asm und c Datei zusammenfügen.
Ich erstelle also mal die zwei Objektdateien:
So, dann:Code:gcc -ffreestanding -c -o c.o c.c nasm -f coff -o asm.o asm.asm
Nun, ich bekomme keine bin sondern folgende Fehlermeldung:Code:ld -Ttext 0x100000 -oformat binary -o meinebin.bin c.o asm.o
Hm, hab keine Ahnung was ich machen soll!Code:asm.o: file not recognized: File format not recognized
Danke für die Antworten!
mfG
CppThinker


Zitieren