Home | History | Annotate | Line # | Download | only in contrib
download_prerequisites revision 1.1.1.1.8.2
      1  1.1.1.1.8.2  tls #! /bin/sh
      2  1.1.1.1.8.2  tls 
      3  1.1.1.1.8.2  tls # Download some prerequisites needed by gcc.
      4  1.1.1.1.8.2  tls # Run this from the top level of the gcc source tree and the gcc
      5  1.1.1.1.8.2  tls # build will do the right thing.
      6  1.1.1.1.8.2  tls #
      7  1.1.1.1.8.2  tls # (C) 2010 Free Software Foundation
      8  1.1.1.1.8.2  tls #
      9  1.1.1.1.8.2  tls # This program is free software: you can redistribute it and/or modify
     10  1.1.1.1.8.2  tls # it under the terms of the GNU General Public License as published by
     11  1.1.1.1.8.2  tls # the Free Software Foundation, either version 3 of the License, or
     12  1.1.1.1.8.2  tls # (at your option) any later version.
     13  1.1.1.1.8.2  tls # 
     14  1.1.1.1.8.2  tls # This program is distributed in the hope that it will be useful, but
     15  1.1.1.1.8.2  tls # WITHOUT ANY WARRANTY; without even the implied warranty of
     16  1.1.1.1.8.2  tls # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     17  1.1.1.1.8.2  tls # General Public License for more details.
     18  1.1.1.1.8.2  tls # 
     19  1.1.1.1.8.2  tls # You should have received a copy of the GNU General Public License
     20  1.1.1.1.8.2  tls # along with this program. If not, see http://www.gnu.org/licenses/.
     21  1.1.1.1.8.2  tls 
     22  1.1.1.1.8.2  tls MPFR=mpfr-2.4.2
     23  1.1.1.1.8.2  tls GMP=gmp-4.3.2
     24  1.1.1.1.8.2  tls MPC=mpc-0.8.1
     25  1.1.1.1.8.2  tls 
     26  1.1.1.1.8.2  tls wget ftp://gcc.gnu.org/pub/gcc/infrastructure/$MPFR.tar.bz2 || exit 1
     27  1.1.1.1.8.2  tls tar xjf $MPFR.tar.bz2 || exit 1
     28  1.1.1.1.8.2  tls ln -sf $MPFR mpfr || exit 1
     29  1.1.1.1.8.2  tls 
     30  1.1.1.1.8.2  tls wget ftp://gcc.gnu.org/pub/gcc/infrastructure/$GMP.tar.bz2 || exit 1
     31  1.1.1.1.8.2  tls tar xjf $GMP.tar.bz2  || exit 1
     32  1.1.1.1.8.2  tls ln -sf $GMP gmp || exit 1
     33  1.1.1.1.8.2  tls 
     34  1.1.1.1.8.2  tls wget ftp://gcc.gnu.org/pub/gcc/infrastructure/$MPC.tar.gz || exit 1
     35  1.1.1.1.8.2  tls tar xzf $MPC.tar.gz || exit 1
     36  1.1.1.1.8.2  tls ln -sf $MPC mpc || exit 1
     37  1.1.1.1.8.2  tls 
     38  1.1.1.1.8.2  tls rm $MPFR.tar.bz2 $GMP.tar.bz2 $MPC.tar.gz || exit 1
     39