This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Annoying objcopy message
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?
H.J.