delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/12/02:31:09

Date: Mon, 12 Feb 2001 09:29:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.1010212092852.12969H-100000@is>
MIME-Version: 1.0
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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019