Xref: utzoo comp.lang.c:18479 comp.lang.fortran:2020 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!unmvax!tut.cis.ohio-state.edu!rutgers!att!westmark!mole-end!mat From: mat@mole-end.UUCP (Mark A Terribile) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: Calling FORTRAN from C (Was: Need matrix inversion C routine). Summary: You can always go to C++ Message-ID: <171@mole-end.UUCP> Date: 7 May 89 08:11:44 GMT References: <2846@tank.uchicago.edu> <5785@cbnews.ATT.COM> <10087@smoke.BRL.MIL> <1415@uw-entropy.ms.washington.edu> Organization: mole-end--private system. admin: mole-end!newtnews Lines: 17 In article <1415@uw-entropy.ms.washington.edu>, charlie@mica.stat.washington.edu (Charlie Geyer) writes: > ... How to write an intellegent C program (no strings or structures in > arguments, no call by value, etc.) that calls a Fortran subroutine or is > called by one. I know there is no portable answer to this now. But > shouldn't there be? > This is often essential if one is to avoid reinventing the wheel at > the cost of years of work. Well ... there is provision in C++ 2.0 for this. Exactly what languages will be supported (usually just C) is up to the implementation, but if you feel the need to write compilers that provide the capability, there is a well-thought- out syntax for the job. -- (This man's opinions are his own.) From mole-end Mark Terribile