Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!crdgw1!sixhub!davidsen From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Fortran77--->C(++)? Message-ID: <4092@sixhub.UUCP> Date: 16 Jun 91 22:41:37 GMT References: <1991Jun15.114003.23662@magnus.acs.ohio-state.edu> Reply-To: davidsen@sixhub.UUCP (bill davidsen) Distribution: na Organization: *IX Public Access UNIX, Schenectady NY Lines: 21 In article <1991Jun15.114003.23662@magnus.acs.ohio-state.edu> erhugo@magnus.acs.ohio-state.edu (Eric R Hugo) writes: | Has anyone out there had any experience translating algorhythms adapted | to work in Fortran to work in C or C++. Is this possible or are the | languages soooo different that it would be easier to not even look at | the Fortran source code? Any pointers would be appreciated. ;-) AT&T has released the code for the unix f77 compiler, which compiles FORTRAN into C code. That certainly sounds like a start. I pulled it at work and got it working on a Sun, and was intending to port it to DOS for use with djgcc, so people would have a free FORTRAN, too. Unfortunately my job has changed again, and I have no time to continue, nor at that time disk space to save. One of the TP guys can tell you where to find it, it's possible you could use it on a unix system and do something with the C code. The code emitted is not beautiful, nor is it always readable. -- bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen) sysop *IX BBS and Public Access UNIX moderator of comp.binaries.ibm.pc and 80386 mailing list "Stupidity, like virtue, is its own reward" -me