Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!mintaka.lcs.mit.edu!mib From: mib@geech.ai.mit.edu (Michael I Bushnell) Newsgroups: comp.unix.wizards Subject: Re: Loading and Executing Object Code at Runtime Message-ID: Date: 1 Mar 91 07:28:54 GMT References: <1991Feb13.212704.7016@cec1.wustl.edu> Sender: daemon@mintaka.lcs.mit.edu (Lucifer Maleficius) Organization: Free Software Foundation, Cambridge, MA Lines: 16 In-Reply-To: bzs@world.std.com's message of 14 Feb 91 09:43:21 GMT Someone asked: >I'm wondering how to load an object file (my_functions.o) at execution >time and execute a function contained therein. I know this is possible >since many flavors of LISP allow you to compile your functions and then >load the compiled versions later. > >If it's in TFM, could someone point me in the right direction, or, if it's >trivially simple, could someone please explain how to go about it? It should be noted that dld, the dynamic loader, available from the Free Software Foundation, does this task nicely. You can get it as /pub/gnu/dld-3.2.1.tar.Z on prep.ai.mit.edu. -mib