Update GCC to 4.6.4
This commit is contained in:
parent
dfa72318a3
commit
8c9cce2520
2
.gitignore
vendored
2
.gitignore
vendored
@ -31,7 +31,7 @@ hdd/usr/libexec
|
||||
hdd/usr/local
|
||||
hdd/usr/man
|
||||
hdd/usr/share/aclocal
|
||||
hdd/usr/share/gcc-4.6.0
|
||||
hdd/usr/share/gcc-4.6.*
|
||||
hdd/usr/share/gtk-doc
|
||||
hdd/usr/share/info
|
||||
hdd/usr/share/locale
|
||||
|
@ -14,7 +14,7 @@ pushd $DIR
|
||||
MPC=mpc-0.9
|
||||
GMP=gmp-5.0.1
|
||||
MPFR=mpfr-3.0.1
|
||||
GCCV=4.6.0
|
||||
GCCV=4.6.4
|
||||
GCC=gcc-$GCCV
|
||||
BINUTILS=binutils-2.22
|
||||
|
||||
|
@ -18,7 +18,7 @@ pushd build
|
||||
mkdir gcc
|
||||
fi
|
||||
pushd gcc
|
||||
$DIR/tarballs/gcc-4.6.0/configure --target=$TARGET --prefix=$PREFIX --disable-nls --enable-languages=c,c++ --disable-libssp --with-newlib || bail
|
||||
$DIR/tarballs/gcc-4.6.4/configure --target=$TARGET --prefix=$PREFIX --disable-nls --enable-languages=c,c++ --disable-libssp --with-newlib || bail
|
||||
make all-gcc || bail
|
||||
make install-gcc || bail
|
||||
make all-target-libgcc || bail
|
||||
|
@ -19,8 +19,8 @@ pushd "$DIR" > /dev/null
|
||||
fi
|
||||
pushd tarballs > /dev/null
|
||||
$INFO "wget" "Pulling source packages..."
|
||||
grab "gcc" "http://www.netgull.com/gcc/releases/gcc-4.6.0" "gcc-core-4.6.0.tar.gz" || bail
|
||||
grab "g++" "http://www.netgull.com/gcc/releases/gcc-4.6.0" "gcc-g++-4.6.0.tar.gz" || bail
|
||||
grab "gcc" "http://www.netgull.com/gcc/releases/gcc-4.6.4" "gcc-core-4.6.4.tar.gz" || bail
|
||||
grab "g++" "http://www.netgull.com/gcc/releases/gcc-4.6.4" "gcc-g++-4.6.4.tar.gz" || bail
|
||||
#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"
|
||||
@ -35,10 +35,10 @@ pushd "$DIR" > /dev/null
|
||||
grab "ncurses" "ftp://invisible-island.net/ncurses" "ncurses-5.9.tar.gz" || bail
|
||||
grab "vim" "ftp://ftp.vim.org/pub/vim/unix" "vim-7.3.tar.bz2" || bail
|
||||
$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" "pixman-0.28.2" "Mesa-7.5.2" "ncurses-5.9" "vim73"
|
||||
rm -rf "binutils-2.22" "freetype-2.4.9" "gcc-4.6.4" "gmp-5.0.1" "libpng-1.5.13" "mpc-0.9" "mpfr-3.0.1" "newlib-1.19.0" "zlib-1.2.7" "pixman-0.28.2" "Mesa-7.5.2" "ncurses-5.9" "vim73"
|
||||
$INFO "tar" "Decompressing..."
|
||||
deco "gcc" "gcc-core-4.6.0.tar.gz" || bail
|
||||
deco "g++" "gcc-g++-4.6.0.tar.gz" || bail
|
||||
deco "gcc" "gcc-core-4.6.4.tar.gz" || bail
|
||||
deco "g++" "gcc-g++-4.6.4.tar.gz" || bail
|
||||
#deco "mpc" "mpc-0.9.tar.gz"
|
||||
#deco "mpfr" "mpfr-3.0.1.tar.gz"
|
||||
#deco "gmp" "gmp-5.0.1.tar.gz"
|
||||
@ -54,7 +54,7 @@ pushd "$DIR" > /dev/null
|
||||
deco "vim" "vim-7.3.tar.bz2" || bail
|
||||
$INFO "tar" "Decompressed source packages."
|
||||
$INFO "patch" "Patching..."
|
||||
patc "gcc" "gcc-4.6.0" || bail
|
||||
patc "gcc" "gcc-4.6.4" || bail
|
||||
#patc "mpc" "mpc-0.9"
|
||||
#patc "mpfr" "mpfr-3.0.1"
|
||||
#patc "gmp" "gmp-5.0.1"
|
||||
@ -69,7 +69,6 @@ pushd "$DIR" > /dev/null
|
||||
patc "vim" "vim73" || bail
|
||||
$INFO "patch" "Patched third-party software."
|
||||
$INFO "--" "Running additional bits..."
|
||||
#deleteUnusedGCC "gcc-4.6.0"
|
||||
installNewlibStuff "newlib-1.19.0" || bail
|
||||
popd > /dev/null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user