Peter Shenkin wrote:
>
>I've never seen a large Fortran program that doesn't require
>some services that the language doesn't provide but that
>are provided by OS calls instead. Bindings are usually provided
>in C. Thus, must Fortran programs must call C, and the way
>this is done of course differs from platform to platform.
>
>
>
But the original rant was against Fortran 2003 and this problem is
solved there. The C interop features standardized in f03 allow portable
direct calling of C routines without wrapper routines. This is already
implemented in some Fortran compilers and, from personal experience, it
works quite well.
Cheers,
Bill
--
Bill Long [log in to unmask]
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120
|