binary to elf conversion

Joel Sherrill joel.sherrill@oarcorp.com
Thu Aug 16 17:39:00 GMT 2007


Andreas Schwab wrote:
> Joel Sherrill <joel.sherrill@oarcorp.com> writes:
>
>   
>> Produced by this command:
>>
>> powerpc-rtems4.8-objcopy -I binary -O elf32-powerpc tarfile
>> o-optimize/tarfile.o
>>     
>
> You need to specify the binary architecture.
>
>   -B --binary-architecture <arch>  Set arch of output file, when input is binary
>   
I don't know how it ever worked at all if I was missing that.
It arch going to always be the canonical name of the target
architecture?   I tried my powerpc and mips and it worked.

Why doesn't it default to the default architecture binutils was
built for?

I feel rather stupid since I know this used to work.  Thanks.
> Andreas.
>   

--joel



More information about the Binutils mailing list