r19082 - gnucash/trunk/packaging/win32 - Bug #617072 - Update create_cross_mingw.sh, patch by Yasuaki Taniguchi
Geert Janssens
gjanssens at code.gnucash.org
Wed Apr 28 09:54:45 EDT 2010
Author: gjanssens
Date: 2010-04-28 09:54:45 -0400 (Wed, 28 Apr 2010)
New Revision: 19082
Trac: http://svn.gnucash.org/trac/changeset/19082
Modified:
gnucash/trunk/packaging/win32/create_cross_mingw.sh
Log:
Bug #617072 - Update create_cross_mingw.sh, patch by Yasuaki Taniguchi
Modified: gnucash/trunk/packaging/win32/create_cross_mingw.sh
===================================================================
--- gnucash/trunk/packaging/win32/create_cross_mingw.sh 2010-04-28 13:43:45 UTC (rev 19081)
+++ gnucash/trunk/packaging/win32/create_cross_mingw.sh 2010-04-28 13:54:45 UTC (rev 19082)
@@ -54,7 +54,7 @@
# What flavor of GCC cross-compiler are we building?
-TARGET=mingw32
+TARGET=${TARGET:-mingw32}
# What directory will the cross-compiler be built in?
# This is the directory into which source archives will
@@ -70,13 +70,14 @@
# that only root has write access to, you will need to run this
# script as root.
-PREFIX=`unix_path $MINGW_DIR`
+_PREFIX=`unix_path $MINGW_DIR`
+PREFIX=${PREFIX:-$_PREFIX}
# Purge anything and everything already in the $PREFIX
#(also known as the destination or installation) directory?
# Set to "Y" to purge, any other value omits the purge step.
-PURGE_DIR="Y"
+PURGE_DIR=${PURGE_DIR:-N}
# Set the following to the files from the current MinGW release
@@ -89,20 +90,21 @@
# GCC_CORE is required; the other components are optional.
# Set any you don't want to "". You need binutils,
# mingw runtime and w32api; do not ever set those to "".
-
-GCC_CORE_ARCHIVE="gcc-core-3.4.5-20060117-1-src.tar.gz"
-GCC_GPP_ARCHIVE="gcc-g++-3.4.5-20060117-1-src.tar.gz"
+# gcc 3.4.5-20060117-3 is the same source of 3.4.5-20060117-2
+# see release notes
+GCC_CORE_ARCHIVE="gcc-core-3.4.5-20060117-2-src.tar.gz"
+GCC_GPP_ARCHIVE="gcc-g++-3.4.5-20060117-2-src.tar.gz"
GCC_G77_ARCHIVE="" #gcc-g77-3.4.5-20060117-1-src.tar.gz"
GCC_OBJC_ARCHIVE="" #gcc-objc-3.4.5-20060117-1-src.tar.gz"
GCC_JAVA_ARCHIVE="" #gcc-java-3.4.5-20060117-1-src.tar.gz"
GCC_ADA_ARCHIVE=""
GCC_PATCH=""
-BINUTILS_ARCHIVE="binutils-2.16.91-20060119-1-src.tar.gz"
+BINUTILS_ARCHIVE="binutils-2.20.1-src.tar.gz"
-MINGW_ARCHIVE="mingw-runtime-3.9.tar.gz"
+MINGW_ARCHIVE="mingwrt-3.15.1-mingw32.tar.gz"
-W32API_ARCHIVE="w32api-3.6.tar.gz"
+W32API_ARCHIVE="w32api-3.13-mingw32-dev.tar.gz"
# These are the files from the SDL website
More information about the gnucash-changes
mailing list