Mixing Fortran 77 and Fortran 90 code

Janne Blomqvist Janne.Blomqvist@tkk.fi
Mon Jul 31 17:15:00 GMT 2006


victor marian wrote:
> Hello,
> 
> I want to build a program called spherical.o (Fortran
> 90 code) compiled with gfortran with a library splib.a
> (Fortran 77 code) compiled with g77
> I give the command
> 
> gfortran -o sphericalexe spherical.o -gf77-calls
> splib.a
> 
> but it gives me o lot of errors as if the option
> -gf77-calls were not recognised.
> What could be the problem? Please Help.
> I am working under cygwin.

Because there is no such thing as -gf77-calls? You can't just make up 
random options and expect it to work.

-- 
Janne Blomqvist



More information about the Fortran mailing list