* Fortran to C Translator
@ 1998-06-26 4:00 Juan C Fischer
1998-06-27 4:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 2+ messages in thread
From: Juan C Fischer @ 1998-06-26 4:00 UTC (permalink / raw)
Hi All!
Is there a VMS Fortran to Digital Unix C "translator" ?
e.g. foobar.for --> foobar.c
TIA
-jcf
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fortran to C Translator
1998-06-26 4:00 Fortran to C Translator Juan C Fischer
@ 1998-06-27 4:00 ` Serguei Patchkovskii
0 siblings, 0 replies; 2+ messages in thread
From: Serguei Patchkovskii @ 1998-06-27 4:00 UTC (permalink / raw)
Juan C Fischer (jcf@internet.siscotel.com) wrote:
: Is there a VMS Fortran to Digital Unix C "translator" ?
: e.g. foobar.for --> foobar.c
f2c (available from http://netlib.org, formely netlib.ornl.gov)
will translate STANDARD FORTRAN-77 to C. It is not operating-system
specific, and I believe it is supported on VMS, too. The resulting
C code is not intended for human audience and is *ugly*.
Translation of VMS Fortran as in "Digital Fortran with VMS extensions"
to C is another story. I believe KAP Fortran preprocessor (which is not
exactly cheap) may be able to translate a *subset* of VMS extensions
into standard Fortran, which then may be converted to C.
The Digital Fortran, on the other hand, fully supports all VMS
extensions and will produce better code than Digital C working
on the intermediate C representation.
/Serge.P
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-06-27 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-26 4:00 Fortran to C Translator Juan C Fischer
1998-06-27 4:00 ` Serguei Patchkovskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox