problems with ld

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
cyn0n

problems with ld

Post by cyn0n »

greets-
I was reading the first tutorial listed under
the developer guides (http://www.osdev.org/
developers/guide01/index.html) and ld will not
give me the bin file. I'm stuck with the
compiled object file. My error says 'phlos2.o:
file not recognized: File format not recognized.'

I entered the command 'ld -Ttext 0x100000
--oformat binary -o phlos2.bin phlos2.o' with
gnu linker version 2.11.2. Do I need to get a
new linker version or something?
Post Reply