C calls to Fortran subroutines on HP9000/300

Ted Johnson ted at hpwrce.HP.COM
Fri May 26 02:28:19 AEST 1989


>I am trying to call Fortran subroutines from a C main 
>program, but don't know how to set up the call. 

Check out the "HP-UX Portability Guide" manual, part # 98794-90046,
page 57.  It has an example.

>I can't find
>any preprocessor commands like ALIAS which you can use when calling
>C from a Fortran program. 

You don't need one.


-Ted



More information about the Comp.lang.c mailing list