Compiling G95 with GCC for the impatient

The following sequence of commands should get you started. Note, the use of the Bourne shell. The configure script is instructed to use --prefix=$HOME/tmp as the root directory for installation of gcc-g95.

The GMP library is typically installed in the /usr/local hierarchy, which is the impetus for CPPFLAGS and LDFLAGS below. You may need to tailor the commands to your personal choices.

cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc login
(no password)
cvs -z9 -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc co -r tree-ssa-20020619-branch gcc
cd gcc
./contrib/gcc_update --touch
cd ..
rm -rf objdir
mkdir -p objdir
cd objdir
set CPPFLAGS -I/usr/local/include
export CPPFLAGS
set LDFLAGS -L/usr/local/lib
export LDFLAGS
../gcc/configure --prefix=$HOME/tmp --enable-languages=c,f95
make bootstrap
make install