binutils doesn't fully support --target=ppc-linux

Bill Gatliff bgat@billgatliff.com
Wed Jul 9 19:25:00 GMT 2003


Dan:


Perhaps a stupid question, but what does it do with "powerpc-linux"?

My vote is for the patch to make it take ppc-linux...


b.g.


Dan Kegel wrote:

> Recent binutils will build fine with --target=ppc-linux,
> but if you try to 'make check', it barfs with
>
> ERROR: Target name ppc-linux is not a triple.
>
> OK, fine, I'll insert fields to turn it into a triple.
> target=ppc-405-linux-gnu works fine in general,
> and 'make check' gets past that problem, but then dies with
>
> ERROR: tcl error sourcing tool-and-target-specific interface file
> /crosstool-0.11/build/ppc-405-linux-gnu/gcc-3.3-glibc-2.2.5/binutils-2.13.90.0.18/ld/testsuite/config/default.exp.
> Error getting emulation name:
> *** ld does not support target ppc-405-linux-gnu
> *** see ld/configure.tgt for supported targets
>
> binutils-2.13.90.0.18/ld/configure.tgt lists lots of targets,
> including powerpc-*, but doesn't mention ppc-* at all.
>
> So... I guess I should use target=powerpc-blah-linux-gnu instead of 
> target=ppc-blah-linux-gnu?
> Or should I patch binutils to recognize the shorter ppc name?
> Anyone run into this before?
>
> Thanks,
> Dan
>
>
> ------
> Want more information?  See the CrossGCC FAQ, 
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to 
> crossgcc-unsubscribe@sources.redhat.com
>

-- 
Bill Gatliff
Embedded GNU and Linux development, training
bgat@billgatliff.com



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list