home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!goanna!ok
- From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe)
- Newsgroups: comp.lang.c
- Subject: Re: Fortran to C conversion: Why bother?
- Message-ID: <15936@goanna.cs.rmit.oz.au>
- Date: 13 Nov 92 07:06:41 GMT
- References: <1992Nov9.131601.167@gems.vcu.edu> <BxIEwH.F59@netnews.jhuapl.edu> <1992Nov11.150325.27062@nntp.nta.no>
- Organization: Comp Sci, RMIT, Melbourne, Australia
- Lines: 18
-
- In article <1992Nov9.131601.167@gems.vcu.edu>, hleaves@gems.vcu.edu writes:
- I was wondering why anyone would bother using the f2c (or similar) program
- to translate fortran code directly into C.
-
- In order to compile it. I have accounts on 7 or 8 UNIX systems in four
- organisations at the moment. They all have C compilers. (In fact they
- all have two: the vendor's and GCC.) From time to time I have Fortran
- code that I would like to run. _One_ of the machines I have an account
- on had a Fortran compiler. But the vendor stopped supporting it in favour
- of an unbundled one, and then it stopped working in the next release but one
- of the operating system. Even before that, I found that f2c followed by cc
- was better.
-
- GNU Fortran is currently in alpha test. But until that's available,
- f2c (free, in source form) + gcc (free, in source form) makes a usable
- Fortran 77 system. I don't care whether it's C or Serbo-Croat in between.
-
- If there was a _reliable_ Pascal to C translator I'd use that too.
-