This is the mail archive of the crossgcc@sources.redhat.com 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: Building a big endian xscale toolchain with softfloat support.


Frank Meerkoetter wrote:
i'm trying to build a toolchain for an IXP2800(xscale) processor.
The toolchain needs softfloat support and i should produce big endian
binaries by default.
I'm using crosstool-0.28-rc23.
I've uncommented the following line in demo-arm-softfloat.sh
eval `cat arm-softfloat.dat gcc-3.3.3-glibc-2.3.2.dat` sh all.sh --notest

I've modified arm-softfloat.dat the following way:
KERNELCONFIG=`pwd`/arm.config
TARGET=armb-softfloat-linux-gnu
TARGET_CFLAGS="-O"
GCC_EXTRA_CONFIG="--with-float=soft --with-cpu=xscale"
GLIBC_EXTRA_CONFIG="--without-fp"

To make the toolchain big endian by default i put the following patch
into $(crosstoolpath)/patches/gcc-3.3.3/: ...
http://www.davehylands.com/linux/ARM-bigendian/gcc-uclibc-3.3-300-bigend.patch

The creation of the toolchains fails while running configure for the
binutils:

configure: error: Unrecognized target system type; please check
config.sub.
make: *** [configure-bfd] error 1

I had a look at config.sub

case $basic_machine in
   [...]
   | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr
   [...]

As for as i could see the target should by known.

I don't think armb matches that set of patterns. Try armbe or armeb. Also, try crosstool-0.28-rc24, it has a patch for arm bigendian glibc strlen.

You may also want to talk with the folks on the
linux-arm-toolchain@lists.arm.linux.org.uk mailing list.
(That's like an offshoot of the crossgcc list, but arm-linux specific.)
- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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