Mail Archives: djgpp/2001/02/12/02:31:09
On Sun, 11 Feb 2001 gbcshady AT my-deja DOT com wrote:
> Hello, I'm using the latest version of the djgpp port of objcopy
> (2.10). I am trying to use it to convert a binary file to an object
> file that can be linked into a djgpp program. I see that objcopy, nm,
> and ar all support the "coff-go32" format. Issuing a:
>
> $ objcopy -v -I binary -O coff-go32 input.bin output.o
>
> works as expected. As does:
>
> $ ar scru library.a output.o
>
> But I get an error when issuing:
>
> $ nm library.a
> $ c:/djgpp/bin/nm.exe output.o: File format not recognized
How exactly did you produce the binary file? With what tool(s) and
what command line(s)?
- Raw text -