This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]