From e51e75be6867d8e800d8a432438d2faa1601ffc1 Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Tue, 4 Dec 2012 20:15:59 -0800 Subject: [PATCH] Maybe possibly speed up build script --- toolchain/prepare.sh | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/toolchain/prepare.sh b/toolchain/prepare.sh index c5cc103f..d36a1e36 100755 --- a/toolchain/prepare.sh +++ b/toolchain/prepare.sh @@ -19,22 +19,24 @@ pushd "$DIR" > /dev/null fi pushd tarballs > /dev/null $INFO "wget" "Pulling source packages..." - grab "gcc" "http://gcc.petsads.us/releases/gcc-4.6.0" "gcc-4.6.0.tar.gz" - grab "mpc" "http://www.multiprecision.org/mpc/download" "mpc-0.9.tar.gz" - grab "mpfr" "http://www.mpfr.org/mpfr-3.0.1" "mpfr-3.0.1.tar.gz" - grab "gmp" "ftp://ftp.gmplib.org/pub/gmp-5.0.1" "gmp-5.0.1.tar.gz" + grab "gcc" "http://gcc.petsads.us/releases/gcc-4.6.0" "gcc-core-4.6.0.tar.gz" + grab "g++" "http://gcc.petsads.us/releases/gcc-4.6.0" "gcc-g++-4.6.0.tar.gz" + #grab "mpc" "http://www.multiprecision.org/mpc/download" "mpc-0.9.tar.gz" + #grab "mpfr" "http://www.mpfr.org/mpfr-3.0.1" "mpfr-3.0.1.tar.gz" + #grab "gmp" "ftp://ftp.gmplib.org/pub/gmp-5.0.1" "gmp-5.0.1.tar.gz" grab "binutils" "http://ftp.gnu.org/gnu/binutils" "binutils-2.22.tar.gz" grab "newlib" "ftp://sources.redhat.com/pub/newlib" "newlib-1.19.0.tar.gz" grab "freetype" "http://download.savannah.gnu.org/releases/freetype" "freetype-2.4.9.tar.gz" grab "zlib" "http://zlib.net" "zlib-1.2.7.tar.gz" - grab "libpng" "ftp://ftp.simplesystems.org/pub/libpng/png/src" "libpng-1.5.13.tar.gz" + grab "libpng" "https://github.com/downloads/klange/osdev" "libpng-1.5.13.tar.gz" $INFO "wget" "Pulled source packages." rm -rf "binutils-2.22" "freetype-2.4.9" "gcc-4.6.0" "gmp-5.0.1" "libpng-1.5.13" "mpc-0.9" "mpfr-3.0.1" "newlib-1.19.0" "zlib-1.2.7" $INFO "tar" "Decompressing..." - deco "gcc" "gcc-4.6.0.tar.gz" - deco "mpc" "mpc-0.9.tar.gz" - deco "mpfr" "mpfr-3.0.1.tar.gz" - deco "gmp" "gmp-5.0.1.tar.gz" + deco "gcc" "gcc-core-4.6.0.tar.gz" + deco "g++" "gcc-g++-4.6.0.tar.gz" + #deco "mpc" "mpc-0.9.tar.gz" + #deco "mpfr" "mpfr-3.0.1.tar.gz" + #deco "gmp" "gmp-5.0.1.tar.gz" deco "binutils" "binutils-2.22.tar.gz" deco "newlib" "newlib-1.19.0.tar.gz" deco "freetype" "freetype-2.4.9.tar.gz" @@ -43,9 +45,9 @@ pushd "$DIR" > /dev/null $INFO "tar" "Decompressed source packages." $INFO "patch" "Patching..." patc "gcc" "gcc-4.6.0" - patc "mpc" "mpc-0.9" - patc "mpfr" "mpfr-3.0.1" - patc "gmp" "gmp-5.0.1" + #patc "mpc" "mpc-0.9" + #patc "mpfr" "mpfr-3.0.1" + #patc "gmp" "gmp-5.0.1" patc "binutils" "binutils-2.22" patc "newlib" "newlib-1.19.0" patc "freetype" "freetype-2.4.9"