Hi all, Toon Moene wrote: > The Standard (as of Fortran 2003, supported by GNU Fortran and ifort) > way to do this is to add the following to your Fortran code: > > $ cat a.f90 > interface gauss > function gauss() bind(c, name="Gauss") > use, intrinsic :: iso_c_binding > real(c_float) :: gauss See also: http://gcc.gnu.org/onlinedocs/gfortran/Mixed_002dLanguage-Programming.html Tobias