On Sat, 09 May 1998, W. J. Kossler wrote:
>I've tried to get a main c program to call a fortran function.
>With Absoft fortran this works fine, but with fort77 and g77 the
>function name is not recognized. Any suggestions?

Try prepending a _ to the beginning of the Fortran function. If that
doesn't work, try appending a _ to the end of the function.

I forget exactly how the rules go, but I do recall having to append _ at
the end of C function names to get them linked in with Fortran code.

>Jack Kossler

--
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
[EMAIL PROTECTED]   the              change magnetic patterns
[EMAIL PROTECTED]      churches         on your hard disk.
-----------------------------------------------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to