🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.stats.s
Article #174

using FORTRAN win S+

#174
From: Henry Granek
Date: Fri, 18 Dec 1992 05:58
24 lines
1566 bytes
I have a very short test routine in FORTRAN, which I am trying to use with
S+ on an SGI work station. After compilation (as per the book on S+) I try
to load it using say 

	dyn.load("test.o")

where S+ responds with messages about missing externals (these have to do 
with internal I/O of the test routine). I tried to use the command

	ld -r -d -o test1.o -lF77 -lI77 test.o

but this does not seem to have any effect, i.e. either the externals are not 
in these libraries, or this ld command does not have the desired effect.

Is there anyone out there who knows how to do this correctly?

------------------------------------------------------------------------------
Dr. Henry Granek                     |       e-mail: hxg@dar.csiro.au
Division of Atmospheric Research     |       or   granek@vax.dar.csiro.au
CSIRO                                |       Fax:     +61-3-586 7600
Private Bag No. 1                    |       Tel:     +61-3-586 7518
Mordialloc, 3195 Victoria            |       Telex:   AA34463
AUSTRALIA                            |
------------------------------------------------------------------------------
Technical Details
Message-ID: <hxg.5.724658280@dar.csiro.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!aurora!dar.csiro.au!hxg

Show Full Headers
Complete Article Headers
Newsgroups: aus.stats.s
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!aurora!dar.csiro.au!hxg
From: hxg@dar.csiro.au (Henry Granek)
Subject: using FORTRAN win S+
Message-ID: <hxg.5.724658280@dar.csiro.au>
Summary: problem finding externals for loaded Fortran code
Sender: @aurora.dar.csiro.au
Organization: CSIRO Division of Atmospheric Research
Date: Fri, 18 Dec 1992 05:58:00 GMT
Lines: 24