Mail Archives: djgpp/1997/07/22/07:02:44
From: | "John M. Wildenthal" <j-wildenthal AT tamu DOT edu>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Calling Fortran subroutines?
|
Date: | Fri, 18 Jul 1997 12:46:22 -0500
|
Organization: | Texas A&M University
|
Lines: | 16
|
Message-ID: | <33CFABEE.DAEBDD9D@tamu.edu>
|
NNTP-Posting-Host: | modem-0550.rns.tamu.edu
|
Mime-Version: | 1.0
|
NNTP-Posting-Date: | 18 Jul 1997 17:47:27 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am trying to see if I must use F2C on Fortran77 code, or can I just
compile it (using G77) and treat it as just another set of object code?
I have been told that C and Fortran pass arguments in different order
(LIFO vs FIFO), but I was wondering if arrays were passed by address
(like C) or value.
If they don't pass in the same method, how can I force them to do so? I
do have G77 running, so that part isn't going to be a problem. I am
hoping that since GCC and G77 are from the same inspired people that
they will mesh without any prodding on my part....
Thanks for your input.
John M. Wildenthal
mailto:j-wildenthal AT tamu DOT edu
- Raw text -