help: interfacing between C and fortran program

Gaurav Gautam, Noida gauravga@noida.hcltech.com
Wed Sep 14 06:40:00 GMT 2005


Hi,


I have a function written in fortran say fun(x, y), with x and y as integer (scalars) . Function returns integer.


I need to call this function from a C program. How do I do it.
Can some one help me.

Does Gfortran and gcc support this. ??


Regards
Gaurav



More information about the Gcc mailing list