Annoying objcopy message

H. J. Lu
Sat Aug 10 06:26:00 GMT 2002

On Sat, Aug 10, 2002 at 07:32:30AM +0100, Nick Clifton wrote:
> Hi H.J.
> > For the testcase below, I got
> > 
> > # make
> > objcopy -Iihex xxx -Obinary xxx.gz
> > objcopy: Warning: Output file cannot represent architecture UNKNOWN!
> > 
> > The warning doesn't make any seses since the binary format has no
> > architecture. How should we get rid of it?
> By using the -B or --binary-architecture switch.  (We could make the
> error message more intelligent though, so that it detects when
> -Obinary is the cause and then have it suggest the use of the -B
> switch).

I haven't looked at the binary target closely. Does it support the
notion of "architecture"? What does it do with "architecture?" The
most importantly, can "binary" represent architecture UNKNOWN?


More information about the Binutils mailing list