Go to the first, previous, next, last section, table of contents.


Prerequisites

The procedures described to unpack, configure, build, and install g77 assume your system has certain programs already installed.

The following prerequisites should be met by your system before you follow the g77 installation instructions:

gzip and tar
To unpack the gcc and g77 distributions, you'll need the gunzip utility in the gzip distribution. Most UNIX systems already have gzip installed. If yours doesn't, you can get it from the FSF. Note that you'll need tar and other utilities as well, but all UNIX systems have these. There are GNU versions of all these available--in fact, a complete GNU UNIX system can be put together on most systems, if desired. The version of GNU gzip used to package this release is 1.2.4. (The version of GNU tar used to package this release is 1.12.)
`gcc-2.8.1.tar.gz'
You need to have this, or some other applicable, version of gcc on your system. The version should be an exact copy of a distribution from the FSF. Its size is approximately 8.4MB. If you've already unpacked `gcc-2.8.1.tar.gz' into a directory (named `gcc-2.8.1') called the source tree for gcc, you can delete the distribution itself, but you'll need to remember to skip any instructions to unpack this distribution. Without an applicable gcc source tree, you cannot build g77. You can obtain an FSF distribution of gcc from the FSF.
`g77-0.5.23.tar.gz'
You probably have already unpacked this package, or you are reading an advance copy of these installation instructions, which are contained in this distribution. The size of this package is approximately 1.4MB. You can obtain an FSF distribution of g77 from the FSF, the same way you obtained gcc.
Enough disk space
The amount of disk space needed to unpack, build, install, and use g77 depends on the type of system you're using, how you build g77, and how much of it you install (primarily, which languages you install). The sizes shown below assume all languages distributed in gcc-2.8.1, plus g77, will be built and installed. These sizes are indicative of GNU/Linux systems on Intel x86 running COFF and on Digital Alpha (AXP) systems running ELF. These should be fairly representative of 32-bit and 64-bit systems, respectively. Note that all sizes are approximate and subject to change without notice! They are based on preliminary releases of g77 made shortly before the public beta release. After installation, if no further modifications and builds of gcc or g77 are planned, the source and build directory may be removed, leaving the total impact on a system's disk storage as that of the amount copied during installation. Systems with the appropriate version of gcc installed don't require the complete bootstrap build. Doing a "straight build" requires about as much space as does a bootstrap build followed by removing both the `gcc/stage1' and `gcc/stage2' directories. Installing gcc and g77 over existing versions might require less new disk space, but note that, unlike many products, gcc installs itself in a way that avoids overwriting other installed versions of itself, so that other versions may easily be invoked (via `gcc -V version'). So, the amount of space saved as a result of having an existing version of gcc and g77 already installed is not much--typically only the command drivers (gcc, g77, g++, and so on, which are small) and the documentation is overwritten by the new installation. The rest of the new installation is done without replacing existing installed versions (assuming they have different version numbers).
make
Your system must have make, and you will probably save yourself a lot of trouble if it is GNU make (sometimes referred to as gmake). In particular, you probably need GNU make to build outside the source directory (with configure's `--srcdir' option.) The version of GNU make used to develop this release is 3.76.1.
cc
Your system must have a working C compiler. If it doesn't, you might be able to obtain a prebuilt binary of some version of gcc from the network or on CD-ROM, perhaps from the FSF. The best source of information about binaries is probably a system-specific Usenet news group, initially via its FAQ. See section `Installing GNU CC' in Using and Porting GNU CC, for more information on prerequisites for installing gcc.
sed
All UNIX systems have sed, but some have a broken version that cannot handle configuring, building, or installing gcc or g77. The version of GNU sed used to develop this release is 2.05. (Note that GNU sed version 3.0 was withdrawn by the FSF--if you happen to have this version installed, replace it with version 2.05 immediately. See a GNU distribution site for further explanation.)
root access or equivalent
To perform the complete installation procedures on a system, you need to have root access to that system, or equivalent access to the `--prefix' directory tree specified on the configure command line. Portions of the procedure (such as configuring and building g77) can be performed by any user with enough disk space and virtual memory. However, these instructions are oriented towards less-experienced users who want to install g77 on their own personal systems. System administrators with more experience will want to determine for themselves how they want to modify the procedures described below to suit the needs of their installation.
autoconf
The version of GNU autoconf used to develop this release is 2.12. autoconf is not needed in the typical case of installing gcc and g77. See section Missing tools?, for information on when it might be needed and how to work around not having it.
bison
The version of GNU bison used to develop this release is 1.25. bison is not needed in the typical case of installing gcc and g77. See section Missing tools?, for information on when it might be needed and how to work around not having it.
gperf
The version of GNU gperf used to develop this release is 2.5. gperf is not needed in the typical case of installing gcc and g77. See section Missing tools?, for information on when it might be needed and how to work around not having it.
makeinfo
The version of GNU makeinfo used to develop this release is 1.68. makeinfo is part of the GNU texinfo package; makeinfo version 1.68 is distributed as part of GNU texinfo version 3.11. makeinfo is not needed in the typical case of installing gcc and g77. See section Missing tools?, for information on when it might be needed and how to work around not having it. An up-to-date version of GNU makeinfo is still convenient when obtaining a new version of a GNU distribution such as gcc or g77, as it allows you to obtain the `.diff.gz' file instead of the entire `.tar.gz' distribution (assuming you have installed patch).
patch
The version of GNU patch used to develop this release is 2.5. Beginning with g77 version 0.5.23, it is no longer necessary to patch the gcc back end to build g77. An up-to-date version of GNU patch is still convenient when obtaining a new version of a GNU distribution such as gcc or g77, as it allows you to obtain the `.diff.gz' file instead of the entire `.tar.gz' distribution (assuming you have installed the tools needed to rebuild derived files, such as makeinfo).


Go to the first, previous, next, last section, table of contents.