Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!spdcc!tauxersvilli!alphalpha!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.sys.apollo Subject: Re: Dynamic linking on Apollo, how? Message-ID: <1990Oct5.021647.3398@alphalpha.com> Date: 5 Oct 90 02:16:47 GMT References: <1990Oct4.150210.17095@sics.se> Organization: asi Lines: 24 In article <1990Oct4.150210.17095@sics.se> attila@nmpbas.nmpcad.se (Attila Nemeth) writes: >I have an application (interpreter) written under UNIX that >are using dynamic linking. I want to port this application >to BSD4.3 on Apollo. This is certainly possible to do, although I'm afraid I no longer have the code to do it. It turns out to be really trivial, but it requires undoc'd code. All I recall (this was back in 9.5 days) is that you make one call to load the binary, another call to take a string and look up the address, and then you just call it through the returned pointer. If you think about it, this is nothing more than an 'inlib' followed by an 'esa'. But for the life of me I can't remember the calls. I suppose you could do a 'nm' on /lib/* and guess :-). Sorry. -kee -- Alphalpha Software, Inc. | motif-request@alphalpha.com nazgul@alphalpha.com |----------------------------------- 617/646-7703 (voice/fax) | Proline BBS: 617/641-3722 I'm not sure which upsets me more; that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.