Does binutils support multi-target at the same time?

WU Zilong zilong.wu@gmail.com
Sun Nov 27 13:12:00 GMT 2005


Thanks, you means we can not convert coff to elf with arm target
freely, then is there any good ideas to do this?

Thanks,

On 11/27/05, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> On Sat, 26 Nov 2005, Paul Brook wrote:
> > On Saturday 26 November 2005 16:48, WU Zilong wrote:
> > >      Can I build binutils with multi-target? Such as enable both
> > > arm-elf and arm-coff at the same?
> >
> > ./configure --enable-targets=whatever
> > The assembler still only targets one arch but the rest of binutils can work
> > with multiple formats[*].
>
> For some architectures, GAS can target multiple formats, though
> ARM is currently not one of them.  See MIPS, i386 and
> CRIS gas configury bits, grep for "multi".  At assembler
> invocation time, the option "--em=objformat" controls which
> "emulation" objects are generated for.
>
> brgds, H-P
> PS. It works too, at least for CRIS.
>



More information about the Binutils mailing list