Crosstool: compiled for a little endian system and target is big endian
Lennert Buytenhek
buytenh@wantstofly.org
Sat Aug 12 12:37:00 GMT 2006
On Sat, Aug 12, 2006 at 02:25:41PM +0200, Rowan Potgieter wrote:
> >> Problem... I'm using the file armeb.dat as follows:
> >>
> >> KERNELCONFIG=`pwd`/arm.config
> >> TARGET=armeb-unknown-linux-gnu
> >> TARGET_CFLAGS="--build=i686-pc-linux-gnu --enable-add-ons --enable-shared"
> >
> >These are not valid C compiler flags.
> >
> >What's wrong with the stock armeb.dat?
>
> well I'm trying to build an arm-linux toolchain for an IXP425 which
> has an XScale core,
An armeb toolchain will work just fine on the xscale.
> so as far as i can see I'll need the extra gcc
> config options "--with-cpu=xscale --enable-cxx-flags=-mcpu=xscale"
If you insist on making that the default for your toolchain, put those
options in GCC_EXTRA_CONFIG, not TARGET_CFLAGS.
E.g. you can take arm-xscale.dat and change the first part of TARGET
to 'armeb'.
cheers,
Lennert
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list