Date: Mon, 12 Feb 2001 09:29:13 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: objcopy problems. In-Reply-To: <966tp1$i25$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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)?