Annoying objcopy message

Nick Clifton
Fri Aug 9 23:31:00 GMT 2002

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


More information about the Binutils mailing list