This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Script to download gcc prerequisites
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: Andrew Haley <aph at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 May 2010 16:50:36 +0200
- Subject: Re: Script to download gcc prerequisites
- References: <4BFBE17B.50601@redhat.com>
- Reply-to: basile at starynkevitch dot net
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} ***