Add support for building toolchains with gcc-4.4 snapshots.
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html
It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest
release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest
snapshot of GCC 4.4.0 (as of March 20, 2009).
We have successfully built linux kernel 2.6.29 and a lot of other stuff
with this toolchain.
Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to
download a 4.4.0 snapshot from ftp.
Patch was adpated by me, mostly to better fit the configuration layout.
/trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------
/trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++-----
2 files changed, 52 insertions(+), 17 deletions(-)
1 # Options specific to extracting packages
7 prompt "Force extractions"
10 Force extraction of already exctracted tarballs.
12 Usefull if you suspect a previous extract did not complete (eg. broken
13 tarball), or you added a new set of patches for this component.
15 config OVERIDE_CONFIG_GUESS_SUB
17 prompt "Override config.{guess,sub}"
20 Override tools' versions of config.guess and config.sub with the ones
21 from crosstool-NG. This means that all instances of config.guess and
22 config.sub in gcc, binutils, glibc, etc... will be replaced.
24 Most of the time, the versions of those scripts found in packages are old
25 versions, thus lacking some target definitions. This is the case for
26 uClibc-based tuples in old versions of gcc and gdb, for example.
28 Also, doing so will guarantee that all components have the same tuples
29 definitions for your target, and not diverging ones.
31 You can update the ones provided with crosstool-NG by first running:
33 in the directory where you want to run crosstool-NG prior to the build.
37 prompt "Stop after extracting tarballs"
40 Exit after unpacking and patching tarballs.
42 Usefull to look at the code before doing the build itself.