gcc 4.7 whole compile old gccs so version bump. also gcc switch to a unified tarball. bump newlib version too, but it still needs an old version of automake so, compile antique autotools. a few small patch updates to get to whole thang going.

This commit is contained in:
wolfwood
2013-01-24 01:01:08 -05:00
parent cd91baf78f
commit e0f2aa73a0
5 changed files with 45 additions and 16 deletions

View File

@@ -3,14 +3,18 @@ OSNAME=xomb
NCPU=4
BINUTILS_VER=2.21.1
GCC_VER=4.6.1
GCC_VER=4.7.2
GMP_VER=5.0.2
MPFR_VER=3.1.0
NEWLIB_VER=1.19.0
#NEWLIB_VER=1.20.0
NEWLIB_VER=2.0.0
MPC_VER=0.9
PPL_VER=0.11.2
CLOOG_VER=0.16.3
AUTOCONF_VER=2.68
AUTOMAKE_VER=1.11.6
# NO M0AR EDITS PLZ
TARGET=x86_64-pc-${OSNAME}
WFLAGS=-c
WFLAGS=-c

View File

@@ -5,12 +5,8 @@ wget $WFLAGS http://ftp.gnu.org/gnu/binutils/binutils-${BINUTILS_VER}.tar.bz2
tar -xf binutils-${BINUTILS_VER}.tar.bz2
setphase "FETCH GCC"
wget $WFLAGS http://ftp.gnu.org/gnu/gcc/gcc-${GCC_VER}/gcc-core-${GCC_VER}.tar.gz
tar -xf gcc-core-${GCC_VER}.tar.gz
wget $WFLAGS http://ftp.gnu.org/gnu/gcc/gcc-${GCC_VER}/gcc-g++-${GCC_VER}.tar.gz
tar -xf gcc-g++-${GCC_VER}.tar.gz
wget $WFLAGS http://ftp.gnu.org/gnu/gcc/gcc-${GCC_VER}/gcc-fortran-${GCC_VER}.tar.gz
tar -xf gcc-fortran-${GCC_VER}.tar.gz
wget $WFLAGS http://ftp.gnu.org/gnu/gcc/gcc-${GCC_VER}/gcc-${GCC_VER}.tar.gz
tar -xf gcc-${GCC_VER}.tar.gz
setphase "FETCH GMP"
wget $WFLAGS http://ftp.gnu.org/gnu/gmp/gmp-${GMP_VER}.tar.gz
@@ -25,7 +21,7 @@ wget $WFLAGS http://www.multiprecision.org/mpc/download/mpc-${MPC_VER}.tar.gz
tar -xf mpc-${MPC_VER}.tar.gz
setphase "FETCH NEWLIB"
wget $WFLAGS ftp://sources.redhat.com/pub/newlib/newlib-${NEWLIB_VER}.tar.gz
wget $WFLAGS ftp://sourceware.org/pub/newlib/newlib-${NEWLIB_VER}.tar.gz
tar -xf newlib-${NEWLIB_VER}.tar.gz
if [ $EXTRAS -eq 1 ]; then
@@ -38,6 +34,15 @@ wget $WFLAGS http://www.bastoul.net/cloog/pages/download/count.php3?url=./cloog-
tar -xf cloog-${CLOOG_VER}.tar.gz
fi
setphase "FETCH AUTOCONF"
wget $WFLAGS ftp://ftp.gnu.org/gnu/autoconf/autoconf-${AUTOCONF_VER}.tar.gz -O autoconf-${AUTOCONF_VER}.tar.gz
tar -xf autoconf-${AUTOCONF_VER}.tar.gz
setphase "FETCH AUTOMAKE"
wget $WFLAGS ftp://ftp.gnu.org/gnu/automake/automake-${AUTOMAKE_VER}.tar.gz -O automake-${AUTOMAKE_VER}.tar.gz
tar -xf automake-${AUTOMAKE_VER}.tar.gz
# --- Patch and push new code into each package ---
# Fix patches with osname