On Tue, 8 Feb 2011 09:33:21 +0200
Ira Rosen <ira.ro...@linaro.org> wrote:

> On 7 February 2011 18:24, Julian Brown <jul...@codesourcery.com>
> wrote:
> > Building for big-endian ARM is Really Hard (IMO) :-). You can't
> > intermix little-endian and big-endian objects at all, so you either
> > need an entirely-big-endian compiler, or to build one with
> > little-endian/big-endian switchable multilibs.
> >
> 
> It certainly helps to understand that I don't want to try that fancy
> both-endians build ;)
> Is separate big-endian build Really Hard as well?

IIRC I couldn't figure out the magic incantation needed to do it last
time I tried. I don't think the "--with-endian=xxx" option is supported
for ARM. Possibly the way to do it is to configure for
the "armeb-foo-eabi-bar" rather than "arm-foo-eabi-bar" target triplet.
Of course you'll still need a big-endian C library, etc...

OTOH a quick web-search seems to suggest that building a big-endian ARM
cross-compiler might just not be possible with vanilla sources.

Julian

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to