autoconf, inter-language linking

Steven G. Johnson stevenj@ab-initio.mit.edu
Sat Oct 11 19:29:00 GMT 2003


On Sat, 11 Oct 2003, Paul Brook wrote:
> This is out of date. -fg77-calls is now the default (and only) option. 
> [.......] The g77 compatability stuff came later. procedures which use 
> new language features (ie those not in f77, eg. assumed shape arrays, 
> pointers) need a new calling convention.

Well, that pretty much obliterates my concerns; thanks!  It's quite
reasonable to need new conventions for new features, much like C++
(although hopefully with less linking fragility!), but if I understand
correctly that you use the old conventions for lowest-common-denominator
code, there should be no problems for authors and users of numerical
libraries.

> Yes, gfortran is the official name. All uses of the g95 name should already 
> have been removed, although I may have missed a few.

Thanks, I'll get autoconf patched.

Steven



More information about the Fortran mailing list