Re: help: interfacing between C and fortran program

2005-09-14 Thread Tobias Schlüter
Ingo Krabbe wrote: > Am Mittwoch, 14. September 2005 08:39 schrieb Gaurav Gautam, Noida: >>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 m

Re: help: interfacing between C and fortran program

2005-09-14 Thread Ingo Krabbe
Am Mittwoch, 14. September 2005 08:39 schrieb Gaurav Gautam, Noida: > 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 G

help: interfacing between C and fortran program

2005-09-13 Thread Gaurav Gautam, Noida
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