This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] to accommodate recent gcc and binutils snapshots


  feel free to hack to make more aesthetically palatable:

--- getandpatch.sh.orig	2005-05-02 14:13:18.000000000 -0400
+++ getandpatch.sh	2005-05-02 14:05:02.000000000 -0400
@@ -199,9 +199,12 @@

 if test x"$BINUTILS_URL" = x; then
    case $BINUTILS_DIR in
-      binutils-2.*.9*.0*) BINUTILS_URL=http://www.kernel.org/pub/linux/devel/binutils ;;   # H.J.Lu's branch
-      binutils-2.*.9*)    BINUTILS_URL=ftp://gcc.gnu.org/pub/binutils/snapshots ;;
-      *)                  BINUTILS_URL=ftp://gcc.gnu.org/pub/binutils/releases ;;
+      binutils-2.*.9*.0*)
+		BINUTILS_URL=http://www.kernel.org/pub/linux/devel/binutils ;;   # H.J.Lu's branch
+      binutils-2.*.9*|binutils-05*)
+		BINUTILS_URL=ftp://gcc.gnu.org/pub/binutils/snapshots ;;
+      *)
+		BINUTILS_URL=ftp://gcc.gnu.org/pub/binutils/releases ;;
    esac
 fi
 getUnpackAndPatch $BINUTILS_URL/$BINUTILS_DIR.tar.bz2 $BINUTILS_URL/$BINUTILS_DIR.tar.gz
@@ -216,7 +219,7 @@
    gcc-4.0.[012345]-200*)
       dir=`echo $GCC_DIR | sed s/gcc-/prerelease-/`
       getUnpackAndPatch ftp://gcc.gnu.org/pub/gcc/$dir/$GCC_DIR.tar.gz ;;
-   gcc-3.[345]-200*|gcc-4.0-200*)
+   gcc-3.[345]-200*|gcc-4.0-200*|gcc-4.1-2005*)
       dir=`echo $GCC_DIR | sed 's/gcc-//'`
       getUnpackAndPatch ftp://gcc.gnu.org/pub/gcc/snapshots/$dir/$GCC_DIR.tar.bz2 ;;
    *)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]