www.delorie.com/djgpp/cvs.html   search  
DJGPP in CVS

The sources to the core DJGPP libraries and utilities (the v2/dj*.zip files) files are available via anonymous CVS access. If you don't know what CVS is, visit Cyclic Software, download the software, and read the CVS Manual. An old version of cvs (1.9) is available as part of djgpp, but you'll need a version with networking capabilities to access this server. I use cvs 1.10 for the server.

A copy of the repository is available via a cvsweb interface also. You can also view or download a checked-out tree over at Martin's site. You can also search for individual files.

To access the repository, you'll need to set the CVSROOT environment variable as in these examples (if you are using a different shell, you'll have to figure it out yourself):

95/NT	set    CVSROOT=:pserver:anonymous@cvs.delorie.com:/cvs/djgpp
bash	export CVSROOT=:pserver:anonymous@cvs.delorie.com:/cvs/djgpp
csh	setenv CVSROOT :pserver:anonymous@cvs.delorie.com:/cvs/djgpp

Once you've done that, you need to tell your local cvs software what password to use. The password is the word anonymous:

bash$ cvs login
(Logging in to anonymous@cvs.delorie.com)
CVS password: anonymous

Note: Windows users may need to make sure the HOME environment variable is set to something meaningful.

After this, you shouldn't have to worry about passwords any more, as it will store your password in $HOME/.cvspass (semi-encoded). In other words, don't type "cvs login" again.

To get the DJGPP sources, do this:

bash$ cvs -z3 get djgpp

This will create a subdirectory called djgpp and fill it with the core sources. You can use (for example) "cvs co -r v2_01 djgpp" to get older versions, etc. Once you have the latest sources, "cvs update" will get any changes since your last update.

Note: the "-z3" uses "gzip -3" compression. Please don't use numbers other than 3; smaller means more network load and higher means more CPU load. You should put "cvs -z3" in your ~/.cvsrc

Last time I checked, you needed 10Mb to check out the sources and 15Mb after running "make".

Problems

Here are a few obscure problems and solutions people have had, when using CVS:

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by DJ Delorie     Updated Sep 2003