This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mixing Fortran 77 and Fortran 90 code


On Mon, Jul 31, 2006 at 08:52:29AM -0700, victor marian wrote:
> 
> 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 suppose the problem is that there is no -gf77-calls
option.  Of course, if you read the gfortran manual
you would know this.

The easiest thing to do is recompile splib.a with
gfortran.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]