public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* GNU ld and GBZ80
@ 2022-06-16  7:34 Felipe Balbi
  0 siblings, 0 replies; only message in thread
From: Felipe Balbi @ 2022-06-16  7:34 UTC (permalink / raw)
  To: binutils


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-16  7:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16  7:34 GNU ld and GBZ80 Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).