Currently GNU compiler options in the Makefile assume the presence of g77.
However, since GCC version 4, g77 is replaced by gfortran. So the following
should be done:
1) the default option for GNU compilers in the Makefile should be using
gfortran instead of g77.
2) an automatic fallback to g77 (when gfortran is not available) should be
implemented.
The first part seems to require only the modification of two lines:
"CF := g77" -> "CF := gfortran"
"FLIBS += -lg2c" -> "FLIBS += -lgfortran"
See the following diff for implementation (not on the most recent version of
the Makefile)
http://code.google.com/p/a-dda/source/diff?spec=svn1005&old=1005&r=1004&format=s
ide&path=%2Ftrunk%2Fsrc%2FMakefile
So the latter can be regarded as a workaround, while the issue is not fixed.
Original issue reported on code.google.com by yurkin on 12 Jan 2011 at 7:20
Original issue reported on code.google.com by
yurkin
on 12 Jan 2011 at 7:20