🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13594

/usr/include/a.out.h on SPARCs

#13594
From: Tim Perala
Date: Thu, 01 Feb 1990 18:33
32 lines
1645 bytes
I am having some difficulty building the "S" statistics package on a
SPARCstation running 4.0.3.

The current roadblock (an earlier roadblock related to using an S-supplied
m4 preprocessor was overcome by compiling it without the -O option to cc)
is related to the BSD relocation_info struct that is normally defined in
/usr/include/a.out.h.

Such a structure is not defined in the SPARC's a.out.h, although one that
looks very similar named "reloc_info_sparc" does appear (in an included
include file).  Unfortunately, the reloc_info_sparc struct is missing some
of the fields normally found in the relocation_info struct.

The missing fields, which are referenced in the code I am playing with,
are r_pcrel, r_symbolnum and r_length.

How do you obtain the information normally accessbile through the missing
fields?

I would appreciate hearing from anyone who has tread these waters before
me.  If you got the new verison of S running on your SPARCstation I would
REALLY like to hear from you.

Please respond via email, as I don't read sun-spots regularly.

Thanks!

Tim Perala (tperala@ub.d.umn.edu)
Systems Programmer
Information Services
University of Minnesota, Duluth
(218) 726-6122
Technical Details
Message-ID: <4731@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request
From: tperala@ub.d.umn.edu (Tim Perala)
Newsgroups: comp.sys.sun
Subject: /usr/include/a.out.h on SPARCs
Keywords: Software
Message-ID: <4731@brazos.Rice.edu>
Date: 1 Feb 90 18:33:50 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 32
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 9, Issue 27, message 4 of 17