aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-12-08 11:00:33 +0100
committerAlex AUVOLAT <alexis211@gmail.com>2012-12-08 11:00:33 +0100
commitb0053e31eb7d72d93c0e67c65491316516f42b68 (patch)
treec4b8cb6e93c77065638fd08cbad0ec940e543b16
parent2c8db4be5c2a3efb1b970bb28a0e3eef089afd2b (diff)
downloadcross-scripts-b0053e31eb7d72d93c0e67c65491316516f42b68.tar.gz
cross-scripts-b0053e31eb7d72d93c0e67c65491316516f42b68.zip
Updated gcc & binutils version.
-rwxr-xr-xcross-x86.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/cross-x86.sh b/cross-x86.sh
index 2a31c80..287d4ad 100755
--- a/cross-x86.sh
+++ b/cross-x86.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-GCC=4.6.3
-BINUTILS=2.22
+GCC=4.7.2
+BINUTILS=2.23.1
ARCH=x86
cd `dirname $0`
@@ -11,16 +11,14 @@ export PREFIX=$HOME/usr
export TARGET=i586-elf
echo " ==> FETCHING CROSS COMPILER ARCHIVES <=="
-if [ ! -f gcc-core-$GCC.tar.bz2 ]; then wget http://ftp.gnu.org/gnu/gcc/gcc-$GCC/gcc-core-$GCC.tar.bz2; fi
-if [ ! -f gcc-g++-$GCC.tar.bz2 ]; then wget http://ftp.gnu.org/gnu/gcc/gcc-$GCC/gcc-g++-$GCC.tar.bz2; fi
+if [ ! -f gcc-$GCC.tar.bz2 ]; then wget http://ftp.gnu.org/gnu/gcc/gcc-$GCC/gcc-$GCC.tar.bz2; fi
if [ ! -f binutils-$BINUTILS.tar.bz2 ]; then wget http://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS.tar.bz2; fi
mkdir build-$ARCH
cd build-$ARCH
echo " ==> EXTRACTING ARCHIVES <=="
-tar xjf ../gcc-core-$GCC.tar.bz2
-tar xjf ../gcc-g++-$GCC.tar.bz2
+tar xjf ../gcc-$GCC.tar.bz2
tar xjf ../binutils-$BINUTILS.tar.bz2
mkdir build-binutils-$BINUTILS