summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/crossgcc/buildgcc25
-rw-r--r--util/crossgcc/patches/binutils-2.23.2_armv7a.patch12
-rw-r--r--util/crossgcc/patches/binutils-2.25_no-bfd-doc.patch (renamed from util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch)2
3 files changed, 14 insertions, 25 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index fc85734e01..e9936dbaae 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -20,8 +20,8 @@
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
#
-CROSSGCC_DATE="February 23th, 2015"
-CROSSGCC_VERSION="1.26"
+CROSSGCC_DATE="March 8th, 2015"
+CROSSGCC_VERSION="1.27"
# default settings
TARGETDIR=`pwd`/xgcc
@@ -29,28 +29,28 @@ TARGETARCH=i386-elf
DESTDIR=
# version numbers
-GMP_VERSION=5.1.2
+GMP_VERSION=6.0.0
MPFR_VERSION=3.1.2
MPC_VERSION=1.0.3
LIBELF_VERSION=0.8.13
-GCC_VERSION=4.8.3
+GCC_VERSION=4.9.2
GCC_AUTOCONF_VERSION=2.69
-BINUTILS_VERSION=2.23.2
-GDB_VERSION=7.6
-IASL_VERSION=20140114
-PYTHON_VERSION=3.3.2
+BINUTILS_VERSION=2.25
+GDB_VERSION=7.9
+IASL_VERSION=20150204
+PYTHON_VERSION=3.4.3
EXPAT_VERSION=2.1.0
# archive locations
-GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.bz2"
+GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}a.tar.bz2"
MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.bz2"
MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz"
GCC_ARCHIVE="http://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2"
BINUTILS_ARCHIVE="http://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.bz2"
-GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.bz2"
-IASL_ARCHIVE="http://www.acpica.org/sites/acpica/files/acpica-unix-${IASL_VERSION}.tar.gz"
-PYTHON_ARCHIVE="http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.bz2"
+GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.xz"
+IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix-${IASL_VERSION}.tar.gz"
+PYTHON_ARCHIVE="http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz"
EXPAT_ARCHIVE="http://downloads.sourceforge.net/sourceforge/expat/expat-${EXPAT_VERSION}.tar.gz"
GMP_DIR="gmp-${GMP_VERSION}"
@@ -300,6 +300,7 @@ for PACKAGE in GMP MPFR MPC LIBELF GCC BINUTILS $PYTHON_PACKAGE \
suffix=`echo $archive | sed 's,.*\.,,'`
test "$suffix" = "gz" && FLAGS=zxf
test "$suffix" = "bz2" && FLAGS=jxf
+ test "$suffix" = "xz" && FLAGS="--xz -xf"
test "$suffix" = "lzma" && FLAGS="--lzma -xf"
$TAR $FLAGS tarballs/`basename $archive`
for patch in patches/${dir}_*.patch; do
diff --git a/util/crossgcc/patches/binutils-2.23.2_armv7a.patch b/util/crossgcc/patches/binutils-2.23.2_armv7a.patch
deleted file mode 100644
index a3c2d63129..0000000000
--- a/util/crossgcc/patches/binutils-2.23.2_armv7a.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -u binutils-2.23.2/config.sub binutils-2.23.2/config.sub
---- binutils-2.23.2/config.sub 2012-04-25 08:53:25.000000000 -0700
-+++ binutils-2.23.2/config.sub 2012-12-04 14:58:16.050136773 -0800
-@@ -259,7 +259,7 @@
- | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
- | am33_2.0 \
-- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
-+ | arc | arm | arm[bl]e | arme[lb] | armv* | armv[345][lb] | avr | avr32 \
- | be32 | be64 \
- | bfin \
- | c4x | clipper \
diff --git a/util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch b/util/crossgcc/patches/binutils-2.25_no-bfd-doc.patch
index 98e202f54d..317c2b44c4 100644
--- a/util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch
+++ b/util/crossgcc/patches/binutils-2.25_no-bfd-doc.patch
@@ -1,6 +1,6 @@
diff -ur binutils-2.23.2/bfd/Makefile.in binutils-2.23.2.patched/bfd/Makefile.in
--- binutils-2.23.2/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200
-+++ binutils-2.23.2.patched/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
++++ binutils-2.25/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
@@ -323,7 +323,7 @@
RELEASE = y
INCDIR = $(srcdir)/../include