Crosstool: compiled for a little endian system and target is big endian

Rowan Potgieter baldo.forum@gmail.com
Sat Aug 12 12:46:00 GMT 2006


thanks for the help - i'll try that now
if you say it'll work then i'm sure it will :D
rowan

On 12/08/06, Lennert Buytenhek <buytenh@wantstofly.org> wrote:
> 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
>


-- 
--------------------------------------------------------------------------------------------------------------------------------------------
 When you say 'I wrote a program that crashed Windows', people just
stare at you blankly and say 'Hey, I got those with the system, *for
free*'. (L. Torvalds)
--------------------------------------------------------------------------------------------------------------------------------------------

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



More information about the crossgcc mailing list