retrieving glibc sources by date

Dan Kegel
Mon Jul 5 05:31:00 GMT 2004

In the next release of crosstool, I'd like to deal with
the fact that the glibc project does not release snapshot tarballs.

To that end, here's a quickie script that will
(slowly and inefficiently) retrieve the glibc sources
as of a certain date.  You then have to delete either
linuxthreads or nptl (or fix to not
enable all addons; Martin VanLeeuwen already sent in
a nice patch for that).

# Script to retrieve glibc source via CVS as of a certain date
# Includes all addons (e.g., both linuxthreads and NPTL)
# Creates glibc-YYYYMMDD.tar.gz
mkdir temp.$$
cd temp.$$
mkdir CVS
echo "" > CVS/Root
cvs co -D$1 libc
mv libc glibc-$1
tar --exclude CVS -czf ../glibc-$1.tar.gz glibc-$1
cd ..
rm -rf temp.$$

My technical stuff:
My politics: see for examples of why I'm for regime change

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list