I've now unwrapped the tarball which contains the gcc 4.1 compilers...
Installed it on my Fedora Core 4 system and all seems well. I've just
compiled a kernel *and* the modules (something that my gcc3.3.2 refused to
do, it broke in modpost).
It boots and runs so that's a significant step forward.
(Now I can try and work out why B3 CPLD boards can't make the CF slot
run....)
Just for info:
I'm using this in a sub tree (/usr/local/arm/4.1...) with symbolic links
switched to component parts (lib, bin, include) with a script so that I can
swap compiler versions with ease.
This is coupled with ARM specific shell variable sets.
I have had to create links in .../bin to gcc, g++ and ccp to get over the
fact that they have -4.1 as a post fix. (i.e. arm-linux-gnu-gcc ->
arm-linux-gnu-gcc-4.1) (This may be unnecessary, I haven't tried without).
Using "make CROSS_COMPILE=arm-linux-gnu- " the kernel built without trouble.
The lack of application libraries in this tarball obviously means it's
limited to compiling kernels and modules.
But a good step in the right direction...
David.
-----Original Message-----
From:
balloon-bounces@balloonboard.org
[
mailto:balloon-bounces@balloonboard.org] On Behalf Of Wookey
Sent: 23 November 2006 16:11
To: Balloon
Subject: [Balloon] toolchains for non-debian systems
All the toolchains a person might ever need are available from
http://www.emdebian.org/debian/dists/ as described here:
http://wiki.debian.org/EmdebianToolchain
But that is in a form only useful for debian-based systems. For other
users RPM and tgz toolchains are needed. I've just made some of those
with alien, and as the only install scripts involved are for the
alternatives mechanism (for setting the default toolchain) they should
work fine.
But I can't test them as not-debian boxes are not allowed in the house
:-) So can someone with a suitable machine download either:
http://www.emdebian.org/files/tools/tgz/gcc4.1-glibc2.3.6-binutils2.17-i386-
arm-cross-toolchain.tgz
or
all the rpms in
http://www.emdebian.org/files/tools/rpm/
(I don't thin the dependencies have been translated as part of the
process, which is a pity, but bascailly you need all of those, except the
c++ stuff is optional)
and install them and see if stuff builds for you. (this will only
really build kernels as-is because no libraries are included. We can
sort out a similar scheme for cross-development packages (for zlib,
etc) if this appears to work.
Note the cross prefix is now arm-linux-gnu- not just arm-linux- (to
distinguish from uclibc and gnueabi toolchains)
Wookey
--
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/
_______________________________________________
Balloon mailing list
Balloon@balloonboard.org
http://balloonboard.org/mailman/listinfo/balloon