GNU ld and GBZ80

Felipe Balbi felipe@balbi.sh
Thu Jun 16 07:34:04 GMT 2022


Hi folks,

I've been trying to figure out how to use GNU binutils for GBZ80
developemnt, however the linker doesn't seem to want to link
anything. Is that expected or is it just a bug in ld?

Just fyi, if I start manually set the origin of the memory with .org
$0100 and assemble it, the file is runnable on an emulator, but I try to
let the linker handle that for me, I get an error message:

    z80-none-elf-ld: main.o: Instruction sets of object files \
                     incompatible

Any suggestions are appreciated :)

-- 
balbi


More information about the Binutils mailing list