This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Annoying objcopy message
- From: Nick Clifton <nickc at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: 10 Aug 2002 07:32:30 +0100
- Subject: Re: Annoying objcopy message
- References: <20020809142613.A18984@lucon.org>
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).
Cheers
Nick