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]

retrieving glibc sources by date


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 crosstool.sh to not
enable all addons; Martin VanLeeuwen already sent in
a nice patch for that).

#!/bin/sh
# Script to retrieve glibc source via CVS as of a certain date
# Includes all addons (e.g., both linuxthreads and NPTL)
# Usage: grab.sh YYYYMMDD
# Creates glibc-YYYYMMDD.tar.gz
mkdir temp.$$
cd temp.$$
mkdir CVS
echo ":pserver:anoncvs@sources.redhat.com:/cvs/glibc" > 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: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change

------
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]