Mail Archives: djgpp-workers/2001/02/15/23:14:25
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
> First, did you try DJGPP's bin2h utility? It is documented in the
> utils.info manual, and might be just what you are looking for.
It's a little off from what I'm trying to do, but thanks for the pointer.
> The above error message means that the output doesn't look like a COFF
> file. The first sign of a non-COFF file is the absence of the COFF
> magic signature at the beginning of the file, not of some section. Do
> you see the COFF signature in output.o?
No, no I don't. The first two bytes are not $014c, they are $0000. That's
a Bad Thing. And what do you know, changing them to the correct COFF magic
number makes everything work correctly.
This same problem also happens with sparC and elf32-i386. I have posted on
the binutils mailing list about this, but I haven't gotten any response yet.
Eli, do you have a "hotter" connection into binutils development that could
raise interest about this bug?
Thanks for the help,
Matthew.
- Raw text -