It would be nice for to automatically generate Fortran interface blocks from the C source.
Something like gfortran -fgenerate-c-interop-blocks foo.c -- Summary: Automatically generate C interop interface blocks from C code Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45435