🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #41732

How do I call MS FORTRAN from MS C?

#41732
From: Richard Stanton
Date: Tue, 06 Feb 1990 08:03
10 lines
778 bytes
If I have a .OBJ file that apparently is a compiled MS FORTRAN
subroutine, how do I link it into a MS C main program? I have tried
declaring the function name with the "fortran" keyword, but the
linker keeps wanting to look for FORTRAN.LIB, and complains about a
few doubly defined symbols. I also get a few segment fixup errors,
and the program does not run.

What am I missing?

Richard Stanton
Technical Details
Message-ID: <7894@lindy.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!shelby!lindy!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!shelby!lindy!news
From: LC.YRS@forsythe.stanford.edu (Richard Stanton)
Newsgroups: comp.sys.ibm.pc
Subject: How do I call MS FORTRAN from MS C?
Message-ID: <7894@lindy.Stanford.EDU>
Date: 6 Feb 90 08:03:42 GMT
Sender: news@lindy.Stanford.EDU (News Service)
Lines: 10