This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help: interfacing between C and fortran program


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]