🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #4640

Re: Fortran to C

#4640
From: Deutscher
Date: Fri, 12 Apr 1996 16:02
49 lines
2494 bytes
Bev Lightfoot (bev@atl.mindspring.com) wrote:
: stark@saturn.sdsu.edu (Brian D. Stark) wrote:
: >I'm looking for a program that will take fortran 77 code and
: >translate it to ansi c.  I've heard that Watcom can do this.
: >Has anyone used Watcom to do this or any other program and
: >what were your results?
: >
: >Thanks,
: >
: >brian
: >-- 
: >Go Chargers


: Brian:

: Our company offers a FORTRAN to C conversion package, FOR_C, which will 
: perform the type of translations you are seeking.  It supports standard 
: F77, with many VAX, Prime, IBM-VS, HP and Microsoft extensions as well.  
: The translated code is very readable and easy to maintain in C.

There is also a free package f2c, which however produces C code mainly
aimed at being compiler in[ut rather than being read and maintained by
human readers. (At least the versions I have used were not, maybe this
has changed?) Anyway, if you want it to compile it may do the trick, if
you want to use the C code and maintain it later, it may very well not
(especially since f2c code requires to be linked with some f2c library).

I have used it extensively before g77 became available,
and ist has been ported to many platforms (comping from UNIX, I would think,
it is at least on OS/2 and DOS, I would not be surprised about a boat load
of others, but I don't know for sure.)

Kind regards, Stefan

: Please contact us for more information, or check our Web Site 
: (http://www.cobalt-blue.com).




--
==========================================================================
Stefan A. Deutscher, sad@utk.edu, (001)-423-[522-7845|974-7838|574-5897]
                                             home^    UTK^     ORNL^
==========================================================================
If there is software you'd like to have in a native version, visit the:
OS/2 E-mail Campaign Page http://www.andrews.edu/~boyko/email.html
--------------------------------------------------------------------------
Technical Details
Message-ID: <4kluqe$ehh@gaia.ns.utk.edu>
Path: arc1-ca.pugleaf.net!gaia.ns.utk.edu!utkux4!sad
References: <4kjvm6$ghc@saturn.sdsu.edu> <4klmam$daa@mule2.mindspring.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!gaia.ns.utk.edu!utkux4!sad
From: sad@utkux.utcc.utk.edu (Deutscher)
Newsgroups: comp.lang.fortran,comp.lang.c
Subject: Re: Fortran to C
Followup-To: comp.lang.fortran,comp.lang.c
Date: 12 Apr 1996 16:02:22 GMT
Organization: University of Tennessee, Knoxville
Message-ID: <4kluqe$ehh@gaia.ns.utk.edu>
References: <4kjvm6$ghc@saturn.sdsu.edu> <4klmam$daa@mule2.mindspring.com>
NNTP-Posting-Host: utkux4.utcc.utk.edu
X-Newsreader: TIN [version 1.2 PL2]