www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/09/19:19:55

From: Dave Love <d DOT love AT dl DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Calling Fortran code from a C program
Date: 09 May 1997 18:26:52 +0100
Organization: Daresbury Laboratory, Warrington WA4 4AD, UK
Lines: 17
Message-ID: <rzq7mh8o8tf.fsf@djlvig.dl.ac.uk>
References: <Pine DOT D-G DOT 3 DOT 91 DOT 970509110935 DOT 8730E-100000 AT dg1>
NNTP-Posting-Host: djlvig.dl.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>>>>> "Art" == Art S Kagel <kagel AT ns1 DOT bloomberg DOT com> writes:

 Art> On Fri, 9 May 1997, Dobler Ervin wrote:

 >> I have a package of routines written in Fortran77, and I would like to
 >> call them from a C program. I'm using GNU's g77 and GNU C.
 >> If there is somebody who can answer my questions I would be very
 >> grateful.

AFAIK all the necessary information is in the G77 manual (at least as
of version 0.5.20).  If not please send a bug report.

 Art> You need not, "C" and FORTRAN use essentially the same calling
 Art> conventions.  The languages are easily mixed noting the items
 Art> below:

Not with G77, they're not.  Please RTFM.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019