🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
2 messages
2 total messages Started by Mark O'Connell Fri, 09 Mar 1990 17:42
How do I call Fortrans routines from within C ?
#2913
Author: Mark O'Connell
Date: Fri, 09 Mar 1990 17:42
13 lines
871 bytes
We have a Meiko Computing Surface hosted by a Sun 4/110.  At the moment we 
are implementing out applications in C.  However we will get some 10,000
lines of Fortran code and want to call these procedures from within C.
How do I do this?  Can I compile both separately and link them?  I would
appreciate any help.

Thanks in advance,
Mark O'Connell.

NERC Unit for Thematic Information Systems,
Dept. of Geography,
University of Reading.
Re: How do I call Fortrans routines from within C ?
#2916
Author: J.Blair-Fish
Date: Mon, 12 Mar 1990 09:43
12 lines
1048 bytes
Mark
I do not know which compiler you are using. Only the latest C and FORTRAN
compilers we have here as prerelease versions allow cross calling. These
are invoked with mf77 and mcc and I have a 9 page document "FORTRAN release 2
Release Notes" by James Cownie, October 12 , 1989 which explains the
cross calling. mf77 and mcc work like conventional UNIX compilers and
invoke the linker which can also be called with mld. Passing characters
around includes calling subroutines and functions to do the conversion.

Let me know if you need a copy of the said release notes.

John Blair-Fish
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads