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: Script to download gcc prerequisites


On Tue, 2010-05-25 at 15:40 +0100, Andrew Haley wrote:
> This is something I've found myself using a lot: it downloads mpc,
> mpfr, and gmp, and puts them in the right place.  
> +mv mpfr-2.4.2 mpfr || exit 1
I would prefer a symbolic link here, so
  ln -s mpfr-2.4.2 mpfr || exit 1
> +
> +wget ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2
> +tar xjf gmp-4.3.2.tar.bz2  || exit 1
> +mv gmp-4.3.2 gmp || exit 1
and here
   ln -s gmp-4.3.2 gmp || exit 1
> +
> +wget http://www.multiprecision.org/mpc/download/mpc-0.8.2.tar.gz
> +tar xzf mpc-0.8.2.tar.gz || exit 1
> +mv mpc-0.8.2 mpc || exit 1
and here
   ln -s mpc-0.8.2 mpc || exit 1

But such a script is very useful.

[I have only a Write After Approval status, so cannot formally approve
any patch to the trunk]

Cheers.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***



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