gcc4.1.2 gfortran patches...
Tobias Burnus
burnus@net-b.de
Thu Feb 14 00:05:00 GMT 2008
Hi Mike,
Michael McCracken wrote:
> My name is Mike McCracken, and I am a physics graduate student at
> Carnegie Mellon University in Pennsylvania, US. We recently upgraded
> our computing facilities to a 64-bit build of LinuxRHEL5, which
> includes gcc 4.1.2. While trying to build some of our old analysis
> software which uses Fortran, I was stymied by the absence of LSHIFT
> and other intrinsics in our not-so-recent version of gfortran.
> After a large amount of google searching, I have come to the
> conclusion that using some of the gfortran patches (found in the
> message here: http://gcc.gnu.org/ml/fortran/2006-07/msg00397.html)
> will be the easiest solution for me. My only problem is that I'm such
> a Fortran dunce that I don't really know where/how to implement these.
The most simple way is the following: Install a newer GCC/gfortran.
LSHIFT is not part of 4.1.x, but it *is* part of GCC/gfortran 4.2.x and
4.3.0. Additionally, newer gfortran versions come with literally
hundreds of bug fixes, better diagnostics, Fortran 2003 features, more
vendor extensions and programs should also be faster.
Of cause, you could backport patches by your own - but why should you?
Nightly GCC/gfortran builds can be found at
http://gcc.gnu.org/wiki/GFortranBinaries
Or build GCC yourself (see bottom of that page).
Work on 4.2.0 started on the 19 November 2005 thus 4.1.x misses almost 2
1/2 years of gfortran development.
Tobias
More information about the Fortran
mailing list