crosstool-0.27: added softfloat support for arm, lots of little fixes
Dan Kegel
dank@kegel.com
Mon Feb 2 06:40:00 GMT 2004
crosstool is a build-and-test script for cross-toolchains based on
binutils, gcc, and glibc. It supports all 32 bit CPUs supported by glibc,
and a couple 64 bit ones. It's available at
http://kegel.com/crosstool
This release is mostly just a minor update, but a few interesting
things snuck in:
Changelog:
0.27 1 Feb 2004 "ow ow ow should have worn hockey skates"
getandpatch.sh:
* really try to detect patches that fail to apply
* be more permissive about how patches are named
* can fetch gcc-3.3.3 prereleases
crosstool.sh:
* let caller override $BUILD if config.guess gets it wrong, e.g. when
building 32 bit stuff on X86_64
* always specify --with-sysroot to binutils.
Lets you build 32->64 bit cross toolchains with gcc-3.2.3 even
though it doesn't support --with-sysroot; all that matters is
that binutils-2.14 does.
* remove junk file ${PREFIX}/${TARGET}/test-if-write
* Since gcc-3.2.* was written in the binutils-2.13 era, and
doesn't work properly with newer binutils on mips due to the
obsoleting of the -mcpu flag, roll back to binutils-2.13
for gcc-3.2.* toolchains.
* Since gcc-3.3.* doesn't build right for alpha with H.J.Lu's
binutils-2.14.90.* snapshots, roll back to gnu's binutils-2.14 for
gcc-3.3.* toolchains. This fixes a regression caused by crosstool-0.24.
(Maybe we'll find out that a couple platforms require the fixes in
H.J.Lu's snapshots. That'd be worth knowing.)
sh4 fixes:
* added patches/gcc-3.3-20040119/pr11608.patch to fix PR11608
arm fixes:
* patches/glibc-2.3.2/arm-ioperm.patch caused build failures, and has been
replaced by the more correct patches/glibc-2.3.2/arm-ctl_bus_isa.patch.
* patches/gcc-3.3.2/gcc-3.3.2-arm-softfloat.patch, arm-softfloat.dat,
and demo-arm-softfloat.sh added for people who want to switch to the
soft float ABI for higher floating point performance
This is from Robert Schwebel's cvs version of the ptxdist patch repository,
so he hasn't really released it yet, but it does build.
gcc fixes:
* Moved pr11587.patch to bad/ subdirectory since it's said to be wrong
* Populated patches/gcc-3.3-20040119/ and patches/gcc-3.3-20040126/
new targets (not tested; let me know if they work):
* added powerpc-860.dat
* added sh3.dat (thanks to Henk Brunsting for sh3.config)
crosstest.sh fixes:
* crosstest.sh no longer tries to filter out bogus fails caused by
http://gcc.gnu.org/PR12096 since the patch
crosstool-0.26/patches/expect-5.39/pr12096.patch fixes that bug.
You'll want to build expect from sources and apply that patch
before running crosstest.sh (until I add that to dejagnu.sh)
FIXME:
* patches/linux-2.4.21/maybe/ia64-offsets.h.patch would partially fix
build error caused by removal of generated file offsets.h from
linux source tree as of 2.4.21, but doesn't solve more basic problems.
For now, if you need to build ia64 toolchains, either use 2.4.20 headers
or steal offsets.h from a working system.
* dejagnu.sh should build a local copy of expect (with
patches/expect-5.39/pr12096.patch applied), but doesn't
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list