pro64-support
[Top] [All Lists]

Re: C-Fortran programs interface

To: "Kakulavarapu, Prasad" <prasad.kakulavarapu@xxxxxxxxx>, "'pro64-support@xxxxxxxxxxx'" <pro64-support@xxxxxxxxxxx>
Subject: Re: C-Fortran programs interface
From: "Ross A. Towle" <rat@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2000 09:33:39 -0700
In-reply-to: "Kakulavarapu, Prasad" <prasad.kakulavarapu@intel.com> "C-Fortran programs interface" (Aug 24, 11:26pm)
References: <CBB699123310D411B66300A0C95D19EE010237E9@ORSMSX30>
Sender: owner-pro64-support@xxxxxxxxxxx
Fortran routine names have a "_" at then end of them.  So when you
call it from C you need to add a "_".  Also the name is lowercase.
So you want to have the c program call "gram_()".

-Ross

<Prev in Thread] Current Thread [Next in Thread>