Update of /cvsroot/linux-vax/toolchain/scripts
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26042
Modified Files:
build_toolchain.sh
Log Message:
* Use POSIX sh.
* Update to current versions for mpfr etc.
Index: build_toolchain.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- build_toolchain.sh 25 Oct 2006 10:59:46 -0000 1.67
+++ build_toolchain.sh 7 Jul 2007 18:46:27 -0000 1.68
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
set -e
@@ -515,14 +515,14 @@
# Get libmpfr/libgmp
#
pushd "${GCC_SRC}"
- wget -q http://www.mpfr.org/mpfr-current/mpfr-2.2.0.tar.gz
- wget -q -O mpfr.patch http://www.mpfr.org/mpfr-current/patches
- tar xzf mpfr-2.2.0.tar.gz
- (cd mpfr-2.2.0 && patch -p1 < ../mpfr.patch)
+ execute wget -q http://www.mpfr.org/mpfr-current/mpfr-2.2.1.tar.gz
+ execute wget -q -O mpfr.patch http://www.mpfr.org/mpfr-current/patches
+ execute tar xzf mpfr-2.2.1.tar.gz
+ (cd mpfr-2.2.1 && execute patch -p1 < ../mpfr.patch)
- wget -q ftp://ftp.gnu.org/gnu/gmp/gmp-4.2.1.tar.bz2
- tar xjf gmp-4.2.1.tar.bz2
- (cd gmp-4.2.1 && patch -p1 < "${VAX_PATCHES_PATH}/gmp.patch")
+ execute wget -q ftp://ftp.gnu.org/gnu/gmp/gmp-4.2.1.tar.bz2
+ execute tar xjf gmp-4.2.1.tar.bz2
+ (cd gmp-4.2.1 && execute patch -p1 < "${VAX_PATCHES_PATH}/gmp.patch")
popd
@@ -777,7 +777,7 @@
execute make install
execute make install prefix="${INSTALL_NATIVE_BASE}/usr"
popd
- pushd "${GCC_SRC}/mpfr-2.2.0"
+ pushd "${GCC_SRC}/mpfr-2.2.1"
CC="${TARGET}-gcc" LDFLAGS=-static CFLAGS=-static \
execute ./configure \
--host="${TARGET}" \
@@ -819,4 +819,3 @@
build "${BUILD_GCC1}" && \
execute make ${MAKEFLAGS} prefix="${INSTALL_NATIVE_BASE}/usr" install-gcc
popd
-
|