🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #1836

Re: Dynamic Loading

#1836
From: Andrew Palay
Date: Mon, 20 May 1991 16:18
31 lines
1838 bytes
Excerpts from mail: 20-May-91 Andrew Takats@romaint.uu (1216)

> Subject: using ATK to make a subroutine library

> Greetings from Pasta-Land!

> How (easily) can Andrew code be used outside of the ATK dynamic
> loading environment?  A couple of questions may clear up my query:

> 1) can I create a single executable that can be run with an absolute
> minimum of accompanying files, etc., so that I can have other isolated
> people run my application without loading Andrew?  My current line of
> thinking is to modify runapp to statically load all my applications
> classes, and to link all my .o's together with runapp.  How does this
> sound?
Yes you can do this.  I did this to try to debug some things in messages
when I didn't have access to a debugger that could handle dynamically
loaded objects.  The only thing is the assembly code that triggers the
dynamic loading must still be there.

> 2) can I access Andrew classes from non-Andrew C-code?  I assume it's
> possible since the class function produces normal C code, but I fear there's
> some stumbling block somewhere.  Has anyone done anything similar?

Yes you can intermix them.   The major stumbling block is that ATK
believes it is control of the event loop.  Your code must be written
using an event driven model.

Andrew J. Palay
Principal Scientist
Silicon Graphics Computer Systems
Technical Details
Message-ID: <0cBzPM306XpyAjgapx@walhalla>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uakari.primate.wisc.edu!caen!uwm.edu!linac!att!ucbvax!walhalla.wpd.sgi.com!ajp
References: <9105201217.AA00428@romaint.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uakari.primate.wisc.edu!caen!uwm.edu!linac!att!ucbvax!walhalla.wpd.sgi.com!ajp
From: ajp@walhalla.wpd.sgi.com (Andrew Palay)
Newsgroups: comp.soft-sys.andrew
Subject: Re: Dynamic Loading
Message-ID: <0cBzPM306XpyAjgapx@walhalla>
Date: 20 May 91 16:18:32 GMT
References: <9105201217.AA00428@romaint.uucp>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 31