Shin, John Y CONTRACTOR WRAIR-Wash DC wrote:
I'm trying to build gfortran from gcc 4.0.3 on an Octane 2 SGI machine
running IRIX 6.5.25f with binutils 2.17. During the initial build, gcc
and g++ compiled successfully but not gfortran, so I tried to rebuild
gfortran specifically by configuring and bootstrapping with the
following commands under a different build directory:
1. ../gcc-4.0.3/configure --with-gnu-as --with-as=/usr/local/bin/as
--with-gnu-ld --with-ld=/usr/local/bin/ld --with-gmp=/usr/local/lib
--with-mpfr=/usr/local/lib --enable-languages=f95
2. make bootstrap
What am I doing wrong?
You are attempting to build a known buggy version of gfortran. Given
the difficulty of supporting Irix, I don't want to make great claims,
but if you are able to build gcc-4.1 or later, your chances with
gfortran are much better.