🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2133

Re: C to Fortran-77 Converter?

#2133
From: Jer
Date: Fri, 01 Mar 1996 15:35
32 lines
1803 bytes
cosc19z5@Bayou.UH.EDU (Spasmo) wrote:


>Hey all.

>I'm looking to port some standard C code to fortran-77.  Nothing special about
>this code, no curses, or graphics or anything, just straight out C code
>dealing with things of a computational nature--mainly matrix computation.

>I'd like to know if there are any C to fortran-77 converters out there, and
>if so where I could acquire them, and of course names.  I need something
>that can run on UNIX (I'm on an OSF/1 I believe, and my programs are in
>gnu C -- all standard stuff).

If you don't call any functions or very very very few functions of any
kind, you might find something.


>I suppose I could also manage if the converter converts to some other version
>of fortran (preferably compatible with fortran-77 but not necessary).

>Thanks in advance.

	There aren't any that I know of, simply because it is stupid to do.
Most C compilers come with a set of standard functions which are
machine/OS specific --- not 10, 50, or (~<100 as in fortran intrinsic
functions plus things like OPEN(12,fmt,,,)) but rather  500 to 5000 of
them!! 

	There are a couple of standard function packages, which do some of the
same things that C's function library does, MS DOS, in assembler.
There is a function pack for Vax VMS.
Technical Details
Message-ID: <4h75f9$4qg@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4h2s3o$mg@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: jrice@primenet.com (Jer)
Newsgroups: comp.lang.c.moderated
Subject: Re: C to Fortran-77 Converter?
Date: 1 Mar 1996 09:35:05 -0600
Organization: Primenet Services for the Internet
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4h75f9$4qg@solutions.solon.com>
References: <4h2s3o$mg@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Posted-By: ip207.elp.primenet.com
X-Newsreader: Forte Free Agent 1.0.82