Installing GCC/G77: Example
The following is an example of how to: Configure, build and install gcc/g77 in the /usr directory.
Ftp the source to the current directory (Need at least 200MB space available):
% ftp ftp.gnu.org
cd pub/gnu/gcc
bin
get gcc-2.95.2.tar.gz
quit
Unzip and untar the source in the current directory:
% tar xvfz gcc-2.95.2.tar.gz
Modify the libI77/fio.h fortran include file to allow access to 10000 unit numbers :
% vi gcc-2.95.2/libf2c/libI77/fio.h
Replace line:
#define MXUNIT 100
With line:
#define MXUNIT 10000
Make the build directory and run configure:
% mkdir gcc-2.95.2_obj
% cd gcc-2.95.2_obj
% ../gcc-2.95.2/configure --prefix /usr
Build GCC/G77
% make bootstrap
Install GCC/G77
% make install
Your done!!!
Last modified on July 26, 2000.