It seems like I might need to put together a couple of patches for CGEN, which happens to still be kept in CVS, and dealing with that isn’t something I’m likely to want to do for fun. Various read-only GIT mirrors of the CGEN repository exist, but none seem to be up-to-date right at the moment. So I thought I’d try doing one myself.
After some experimentation, I think I have a successful & up-to-date import of the relevant bits of the Sourceware tree:
SRC_SUPPORT="cgen cpu COPYING COPYING3 COPYING.LIB \
COPYING3.LIB COPYING.NEWLIB COPYING.LIBGLOSS \
ChangeLog MAINTAINERS Makefile.def Makefile.in \
Makefile.tpl README README-maintainer-mode compile \
config config-ml.in config.guess config.if \
config.rpath config.sub configure configure.ac \
configure.in contrib depcomp etc gettext.m4 \
install-sh lt~obsolete.m4 ltgcc.m4 ltsugar.m4 \
ltversion.m4 ltoptions.m4 libtool.m4 ltcf-c.sh \
ltcf-cxx.sh ltcf-gcj.sh ltconfig ltmain.sh \
makefile.vms missing mkdep mkinstalldirs \
move-if-change setup.com src-release symlink-tree \
ylwrap"
crap-clone -z9 :pserver:anoncvs@sourceware.org:/cvs/src src \
$(for x in $SRC_SUPPORT; do echo "-d $x"; done)
Which seems to work OK (well enough at least). All those “-d” options are because this repository heavily uses CVS modules: those files/directories are a flattened-out version of the cgen module (deduced from “cvs [...] co -c
“). Apparently crap will do an incremental update too if necessary, not that CGEN gets much love these days.