I am trying to call C procedures on the GNU Scientific Library (gsl) from a Fortran code but without success: the linker always complains about the missing trailing underscore on the routine name.
Is there any way to modify the default compiler/linker behavior of expecting a trailing underscore on those procedures?
I've tried to define an interface for the gsl procedures ( with:
!DIR$ ATTRIBUTES C, ALIAS: 'name_without_underscore' ::gsl_routine _name) but without success.
Thank you
Calling C procedures from Fortran
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.




