big endian toolchain for xscale/arm

Lennert Buytenhek buytenh@wantstofly.org
Wed Jun 28 22:46:00 GMT 2006


On Tue, Jun 27, 2006 at 09:49:23PM -0400, Anish Patel wrote:

>     I am trying to get a big endian based toolchain for Xscale using
> crosstools 0.42 and the armv5b script
> i made the trival changes to it so it would use the 4.x gcc series and
> gclibc 2.3.2 to .6 (which ever will work)
> when i get to build gcc i get this error.
> 
> /home/akp/xscale/tools/bin/armv5b-softfloat-linux-ld: unrecognised emulation
> mode: armelf_linux
> Supported emulations: armelfb_linux armelfb

The binutils you are using was built in big-endian mode (since you are
using a target triple of the form arm*b-*-*, it automatically switches
to using big-endian by default), but gcc doesn't have the "default to
big-endian if the target machine is arm*b" logic merged upstream.

So, you will need a patch for gcc to default to big-endian based on
the target triple.  crosstool has a couple of patches like that for
gcc 3.3, 3.4 and I believe 4.0 -- try forward-porting one of them.


--L

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list