This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Annoying objcopy message


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]