This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING Re: Script to download gcc prerequisites


On 06/02/2010 11:07 AM, Andrew Haley wrote:
+MPFR=mpfr-2.4.2
+GMP=gmp-4.3.2
+MPC=mpc-0.8.2
+
+wget http://www.mpfr.org/$MPFR/$MPFR.tar.gz || exit 1
+tar xzf $MPFR.tar.gz || exit 1
+ln -sf $MPFR mpfr || exit 1
+
+wget ftp://ftp.gmplib.org/pub/$GMP/$GMP.tar.bz2 || exit 1
+tar xjf $GMP.tar.bz2  || exit 1
+ln -sf $GMP gmp || exit 1
+
+wget http://www.multiprecision.org/mpc/download/$MPC.tar.gz || exit 1
+tar xzf $MPC.tar.gz || exit 1
+ln -sf $MPC mpc || exit 1
+
+rm $MPFR.tar.gz $GMP.tar.bz2 $MPC.tar.gz || exit 1

Okay if you replace the URLs with ftp://gcc.gnu.org/pub/gcc/infrastructure/ (you'll also need to change MPFR to use bz2).


I hadn't noticed the script until now, sorry.

Thanks,

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]