crosstool uClibc download from old-releases

Carl Miller chaz@energoncube.net
Tue Jan 13 01:29:00 GMT 2004


Another minor bugfix patch to crosstool-0.25 for those who have been testing
the uClibc compatibility patches.


                            -----Carl


-------------- next part --------------
The uClibc site keeps only the latest release in the main downloads directory.
Older releases are moved to the old-releases subdirectory.  Thus, if a uClibc
tarball is not found in the main downloads directory, try looking for it in
old-releases before giving up.

Index: getandpatch.sh
===================================================================
RCS file: /home/cvs/tools/crosstool-0.25/getandpatch.sh,v
retrieving revision 1.3
diff -d -u -r1.3 getandpatch.sh
--- getandpatch.sh	18 Dec 2003 02:57:06 -0000	1.3
+++ getandpatch.sh	12 Jan 2004 19:58:25 -0000
@@ -124,7 +124,7 @@
     if test -z "${COMMON_SOURCE}"; then
         cd $BUILD_DIR
     else
-    cd $COMMON_SOURCE
+        cd $COMMON_SOURCE
     fi
     cd ${LIBC_DIR}/extra/locale
     test -f $ARCHIVE_NAME || wget $1
@@ -159,7 +159,10 @@
         getGlibcAddon     ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.bz2 || getGlibcAddon ftp://ftp.gnu.org/pub/gnu/glibc/$GLIBCTHREADS_FILENAME.tar.gz
         ;;
     uclibc)
-        getUnpackAndPatch http://www.uclibc.org/downloads/$LIBC_DIR.tar.bz2 || getUnpackAndPatch http://www.uclibc.org/downloads/$LIBC_DIR.tar.gz
+        getUnpackAndPatch http://www.uclibc.org/downloads/$LIBC_DIR.tar.bz2 || \
+            getUnpackAndPatch http://www.uclibc.org/downloads/$LIBC_DIR.tar.gz || \
+            getUnpackAndPatch http://www.uclibc.org/downloads/old-releases/$LIBC_DIR.tar.bz2 || \
+            getUnpackAndPatch http://www.uclibc.org/downloads/old-releases/$LIBC_DIR.tar.gz
         getuClibcLocale http://www.uclibc.org/downloads/uClibc-locale-030818.tgz
         ;;
 esac

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


More information about the crossgcc mailing list