From a79e938687fc38210f0b021f67f4f5b7d1bd7568 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 29 Apr 2010 05:53:22 +0000 Subject: [PATCH] Changed gcc version from 4.4.3 to 4.5.0. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11107 --- drd/scripts/download-and-build-gcc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drd/scripts/download-and-build-gcc b/drd/scripts/download-and-build-gcc index ab0e404de9..9197824116 100755 --- a/drd/scripts/download-and-build-gcc +++ b/drd/scripts/download-and-build-gcc @@ -6,7 +6,7 @@ # are called gmp-devel and mpfr-devel. -GCC_VERSION=4.4.3 +GCC_VERSION=4.5.0 FSF_MIRROR=ftp://ftp.easynet.be/gnu SRCDIR=$HOME/software DOWNLOADS=$SRCDIR/downloads @@ -27,6 +27,11 @@ if [ ! -e /usr/include/mpfr.h ]; then exit 1 fi +if [ ! -e /usr/include/mpc.h ]; then + echo "Please install the mpc library development package first." + exit 1 +fi + rm -rf ${BUILD} || exit $? rm -rf ${PREFIX} || exit $? mkdir -p ${DOWNLOADS} || exit $? -- 2.47.2