This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
help: interfacing between C and fortran program
- From: "Gaurav Gautam, Noida" <gauravga at noida dot hcltech dot com>
- To: <fortran at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>, <gcc-help at gcc dot gnu dot org>
- Date: Wed, 14 Sep 2005 12:09:00 +0530
- Subject: 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