Path: utzoo!utgpu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!shelby!neon!neon!peda From: peda@simplicity.Stanford.EDU (Bill Codding) Newsgroups: alt.sources.d Subject: Re: Fortran to C Message-ID: Date: 8 Feb 91 02:39:39 GMT References: <3318@sequent.cs.qmw.ac.uk> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: None to Speak Of Lines: 26 In-Reply-To: morten@cs.qmw.ac.uk's message of 7 Feb 91 17:16:14 GMT In article <3318@sequent.cs.qmw.ac.uk> morten@cs.qmw.ac.uk (Morten Ronseth) writes: I have recently been trying to compile dungeon, on a Sun 3/60, but the linking stage comes up with: undefined symbol: _units We had this very same problem. It was a while ago, but if I remember correctly it was due to a mismatch between the Sun OS and the Sun Fortran compiler. I am fairly sure that we fixed it with an upgrade to the Fortran compiler. So, my request is as follows: Is there anywhere a Fortran to C translator, so that I could take the original sources (in Fortran) and magically have them in C just a few moments later? I recall the existence of a "f2c" program, possibly put out by the GNU people. Look in a GNU archive. ------------------------------------------------------------------------ Bill Codding (415)493-3554 (w) Research Engineer (415)751-5484 (h) P.E.D.A. peda@simplicity.Stanford.EDU ------------------------------------------------------------------------