Xref: utzoo comp.sys.att:10044 unix-pc.general:5810 Path: utzoo!attcan!uunet!cs.utexas.edu!texbell!cpsolv!rhg From: rhg@cpsolv.CPS.COM (Richard H. Gumpertz) Newsgroups: comp.sys.att,unix-pc.general Subject: Re: fortran compilier wanted Keywords: fortran Message-ID: <526@cpsolv.CPS.COM> Date: 22 Jul 90 12:28:44 GMT References: Reply-To: rhg%cpsolv@texbell.sbc.com Organization: Computer Problem Solving, Leawood, Kansas, USA Lines: 27 In article harter@ficc.ferranti.com (ron harter) writes: >I recently purchased a used 3b1 machine. I loaded up the development set >and discovered much to my dismay there was no fortran compilier. I have occasionally run f2c here. It compiled just fine (after modifying the Makefile and one minor patch to zsqrt.c in the fortran run-time library) with the stock 3.51 tools. Since I compile with shcc (uses shared library automatically), I also had to set the compile-time definitiom that disables its special malloc library (which appears not to work together with the Unix PC shared library malloc). The translator understands f77 and produces C source. One can write a script to combine f2c and cc into a single command if one is really programming in fortran. Such a script comes with the package but is rather primitive; I improved it slightly but it still needs work. For more information, send the message "help" to netlib@research.att.com. If there is sufficient demand, I suppose I could post the sources (with my patches) to unix-pc.sources (after checking the copyright issues with the authors). -- ========================================================================== | Richard H. Gumpertz rhg@CPS.COM (913) 642-1777 or (816) 891-3561 | | Computer Problem Solving, 8905 Mohawk Lane, Leawood, Kansas 66206-1749 | ==========================================================================