changeset 749:34f9a88336a8

Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.)
author Rob Landley <rob@landley.net>
date Mon, 15 Jun 2009 02:09:39 -0500
parents 897fb219ead7
children adfe2f5bd737
files download.sh root-filesystem.sh
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/download.sh	Mon Jun 15 01:11:26 2009 -0500
+++ b/download.sh	Mon Jun 15 02:09:39 2009 -0500
@@ -29,6 +29,7 @@
 
 URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 \
 SHA1=0640a2f4bea3fc272541f322b74ea365ad7f2349 \
+UNSTABLE=http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.30-rc7.tar.bz2 \
 download || dienow
 
 URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \
@@ -45,14 +46,16 @@
 
 # 4.2.1 was the last GPLv2 release of gcc
 
-URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 \
-SHA1=d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 \
-UNSTABLE=ftp://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-core-4.2.1.tar.bz2 \
+URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-core-4.2.1.tar.bz2 \
+SHA1=43a138779e053a864bd16dfabcd3ffff04103213 \
+UNSTABLE=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-core-4.1.2.tar.bz2 \
 download || dienow
 
-URL=http://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-g++-4.1.2.tar.bz2 \
-SHA1=e29c6e151050f8b5ac5d680b99483df522606143 \
-UNSTABLE=http://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-g++-4.2.1.tar.bz2 \
+# The g++ version must match gcc version.
+
+URL=http://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-g++-4.2.1.tar.bz2 \
+SHA1=8f3785bd0e092f563e14ecd26921cd04275496a6 \
+UNSTABLE=http://ftp.gnu.org/gnu/gcc/gcc-4.1.2/gcc-g++-4.1.2.tar.bz2 \
 download || dienow
 
 # Building a native root filesystem requires linux and uClibc (above) plus
--- a/root-filesystem.sh	Mon Jun 15 01:11:26 2009 -0500
+++ b/root-filesystem.sh	Mon Jun 15 02:09:39 2009 -0500
@@ -138,10 +138,13 @@
   LD="${FROM_ARCH}-ld" NM="${FROM_ARCH}-nm" \
   CC_FOR_TARGET="${ARCH}-cc" AR_FOR_TARGET="${ARCH}-ar" \
   NM_FOR_TARGET="${ARCH}-nm" GCC_FOR_TARGET="${ARCH}-cc" \
+  AS_FOR_TARGET="${ARCH}-as" LD_FOR_TARGET="${ARCH}-ld" \
   CXX_FOR_TARGET="${ARCH}-g++" \
   ac_cv_path_AR_FOR_TARGET="${ARCH}-ar" \
   ac_cv_path_RANLIB_FOR_TARGET="${ARCH}-ranlib" \
   ac_cv_path_NM_FOR_TARGET="${ARCH}-nm" \
+  ac_cv_path_AS_FOR_TARGET="${ARCH}-as" \
+  ac_cv_path_LD_FOR_TARGET="${ARCH}-ld" \
   "${CURSRC}/configure" --prefix="${TOOLS}" --disable-multilib \
   --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --target="${CROSS_TARGET}" \
   --enable-long-long --enable-c99 --enable-shared --enable-threads=posix \