changeset 90:ba2a4572eff5

new versions: mingw_runtime, w32api, binutils
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 13 Dec 2007 01:42:13 +0100
parents d422fe67d0b1
children 759ba07bee09
files build_mingw_cross_env.sh
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Wed Dec 12 16:57:10 2007 +0100
+++ b/build_mingw_cross_env.sh	Thu Dec 13 01:42:13 2007 +0100
@@ -100,9 +100,9 @@
 
 PATH="$PREFIX/bin:$PATH"
 
-VERSION_mingw_runtime=3.12
-VERSION_w32api=3.9
-VERSION_binutils=2.17.50-20060824-1
+VERSION_mingw_runtime=3.13
+VERSION_w32api=3.10
+VERSION_binutils=2.18.50-20071123
 VERSION_gcc=4.2.1-2
 VERSION_pkg_config=0.22
 VERSION_pthreads=2-8-0
@@ -318,9 +318,10 @@
     ;;
 
 --build)
+    VERSION_DIRNAME_binutils=`echo "$VERSION_binutils" | sed 's,-.*,,'`
     cd "$SOURCE"
     tar xfvz "$DOWNLOAD/binutils-$VERSION_binutils-src.tar.gz"
-    cd "binutils-$VERSION_binutils-src"
+    cd "binutils-$VERSION_DIRNAME_binutils"
     ./configure \
         --target="$TARGET" \
         --prefix="$PREFIX" \
@@ -331,7 +332,7 @@
         --disable-shared
     $MAKE all install
     cd "$SOURCE"
-    rm -rfv "binutils-$VERSION_binutils-src"
+    rm -rfv "binutils-$VERSION_DIRNAME_binutils"
     ;;
 
 esac