Installing the source code

Before downloading the source code corresponding to the release, you should install the latest release of the tools (either the full release or just the user tools).

Create the directory that will house the source code. cd there.

Connect to one of the ftp servers listed above and cd to the directory containing the latest release.

The source code is split into two units: user tools and development tools. If you want the user tools source code, cd into the user-src-split subdirectory. Download the files there. If you want the development tools sources, cd into the dev-src-split subdirectory. Download the files there.

Back in the Windows command shell, for the user tools source:

C:\Cygnus\> copy /b xba + xbb + xbc + xbd + xbe + xbf + xbg user-src.tar.bz2
C:\Cygnus\> del xb*.*
C:\Cygnus\> bunzip2 user-src.tar.bz2
C:\Cygnus\> tar xvf user-src.tar

For the development tools source:

C:\Cygnus\> copy /b xca + xcb + xcc + xcd + ... + xck + xcl dev-src.tar.bz2
C:\Cygnus\> del xc*.*
C:\Cygnus\> bunzip2 dev-src.tar.bz2
C:\Cygnus\> tar xvf dev-src.tar

Both will expand into a directory called src.

Note: if you want the sources corresponding to everything in the full.exe binary installer, you will need to download and expand both the user-src.tar.bz2 and dev-src.tar.bz2 source archives!