g77

How to find out which compiler was used: g77 or gfortran

Hi, I'm compiling library for a private project, which depends on a number of libraries. Specifically one of the dependencies is compiled with Fortran. On some instances, I've seen the dependency compiled with g77, on others I've seen it compiled with gfortran. My project then is ./configure'd to link with either -lg2c or -lgfortran, bu...

Make double-precision default in g77, Fortran compiler

Is there an analog of the "-fdefault-real-8" gfortran (the GNU Fortran 95 compiler) option in g77 (the GNU Fortran 77 compiler)? This option sets the default real type to an 8-byte wide type. I currently have code where single-precision arithmetic is limiting my accuracy, and so I need double-precision. (It's not just intermediate val...

Fortran compile error

I tried to compile a fortran program for soil-plant-atmosphere model, but I can't compile it under Ubuntu, it keeps giving me the error message like this: f77 -c -o o/cupin2.o src/cupin2.f src/cupin2.f: In subroutine `reflt': src/cupin2.f:742: dimension tairgl,eairgl,windgl,psisgl,hsoil,ecpy,hcpy ^ In...

The Make and Shell Command Option in g77

What do the make and shell option mean in g77? For example, if I have the following script in my Makefile: FC = g77 FFLAGS = -O2 -mno-cygwin LDFLAGS = CD = cd LN = ln LNFLAGS = -s MAKE = /bin/make RM = rm RMFLAGS = -f SHELL = /bin/sh Does this mean that make operation needs to make use of /bin/make.exe? On a side note: when I run the...

F77: problem to compile with g77 a program which was normally compiled with Absoft compiler

I am not a Fortran programmer (just a short experience), but I need to compile a program partly written in F77. Someone has compiled it with Absoft compiler before me, but now I need to repeat the procedure on another machine with g77. For Absoft, the makefile has f77 -f -w -O -B100 -B108 -c *.f mv *.f flib && mv *.o olib f77 -B100 -o...