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