Question on linking files using gfortran

Tobias.Schlueter@Physik.Uni-Muenchen.DE Tobias.Schlueter@Physik.Uni-Muenchen.DE
Thu Sep 22 13:38:00 GMT 2005


Quoting François-Xavier Coudert <fxcoudert@gmail.com>:
> Most fortran compilers add a trailing underscore at the end of users'
> function names (this is a convention, I don't really know why).

I guess this is done so that the user's functions don't collide with the C
library, even if they have the same name on the Fortran language level.

- Tobi




More information about the Fortran mailing list