Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!munnari.oz.au!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.fortran Subject: Re: Replace Fortran libraries Message-ID: <5034@goanna.cs.rmit.oz.au> Date: 22 Mar 91 06:29:26 GMT Article-I.D.: goanna.5034 References: <3410001@hplred.HP.COM> <1991Mar22.001551.28932@agate.berkeley.edu> Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 13 In article <1991Mar22.001551.28932@agate.berkeley.edu>, jerry@violet.berkeley.edu (Jerry Berkman) writes: > In article <3410001@hplred.HP.COM> sivaram@hplred.HP.COM (S. Sivaramakrishnan) writes: > >Assume you have a machine whose Fortran libraries have been "lost". However, > >this machine has a Fortran compiler, a C compiler and C libraries. You > >would like to run some fortran code which has a few common library > >calls - read/write, open/close of files etc. Can this be reasonably > >accomplished? How? There is a simple solution: pick up a copy of "f2c" and convert the Fortran code to C. The f2c sources include the Fortran library, including formatted transput. -- Seen from an MVS perspective, UNIX and MS-DOS are hard to tell apart.