This document describes how to obtain the latest GNU Tools source code archives. It does not describe how to compile those sources (that is described elsewhere), nor does it describe what to do if those sources are significantly different from the ones on this CD-ROM.
The source code archives for the GNU Tools are available world-wide on various FTP and Web servers. The canonical locations for the various tools are:
GNU Tool | URL reference |
---|---|
binutils |
ftp://ftp.gnu.org/pub/gnu/binutils/ |
gcc |
ftp://ftp.gnu.org/pub/gnu/gcc/ |
insight |
ftp://sources.redhat.com/pub/gdb/releases/ |
newlib |
ftp://sources.redhat.com/pub/newlib/ |
make |
ftp://ftp.gnu.org/pub/gnu/make/ |
To obtain these sources, use the FTP protocol to download the latest files into a suitable directory, such as /var/tmp/src. For example, a typical session using the ftp command might be as follows (program output not shown):
$ | cd /var/tmp/src |
$ | ftp ftp.gnu.org |
(Enter “anonymous ” as the user name) | |
(Enter your e-mail address as the password) |
ftp> | bin |
ftp> | cd /pub/gnu/binutils |
ftp> | ls |
(Locate the latest version in the directory listing) | |
(Assume “binutils-num.tar.gz” is the latest) | |
ftp> | get binutils-num.tar.gz |
ftp> | quit |
Please note that the actual source files may be in a subdirectory, as
is the case with the gcc
package. Furthermore, the
gcc
package requires you to download both gcc-core-num.tar.gz
and gcc-g++-num.tar.gz (where num represents the version
number).
It is usually much faster to use a local FTP mirror instead of the canonical locations. For example, use ftp://mirror.aarnet.edu.au/ or ftp://mirror.cse.unsw.edu.au/ in Australia instead of ftp://ftp.gnu.org/ and ftp://sources.redhat.com/.
At the time of writing this document, the following URLs represented the latest source code archives for the GNU Tools: