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 diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure
2 --- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200
3 +++ libelf-0.8.10/configure 2008-10-23 22:43:19.000000000 +0200
5 echo $ac_n "(cached) $ac_c" 1>&6
7 if test "$cross_compiling" = yes; then
8 - ac_cv_sizeof_long_long=0
9 + ac_cv_sizeof_long_long=8
11 cat > conftest.$ac_ext <<EOF
12 #line 1602 "configure"
13 diff -dur libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
14 --- libelf-0.8.10.orig/configure.in 2007-09-07 14:07:59.000000000 +0200
15 +++ libelf-0.8.10/configure.in 2008-10-23 22:43:10.000000000 +0200
17 AC_CHECK_SIZEOF(short,2)
18 AC_CHECK_SIZEOF(int,4)
19 AC_CHECK_SIZEOF(long,4)
20 -AC_CHECK_SIZEOF(long long,0)
21 +AC_CHECK_SIZEOF(long long,8)
23 AC_CHECK_SIZEOF(__int64, 0)