🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #843

Dynamic Loading

#843
From: Jeff Hallett x5163
Date: Thu, 06 Sep 1990 19:27
22 lines
1377 bytes
Hi folks.

I'm interested in doing something funky.  I have a shell running that
basically interprets user commands and then calls a procedure to
handle the command.  Each command is self-contained.  Now, I want to
allow a user to add commands.  The mechanism I would like to try is to
have the user create a .o file with the compiled code in it, then,
when he enters his command into the shell, have the shell load the .o
file and execute the code in it.  The only problem is that I don't
have a clue where to look to figure out how to do this.

If anyone has an answer or a better idea, I'd love to hear about it.
Please send email and I'll post summaries.

Thanks.

--
	     Jeffrey A. Hallett, PET Software Engineering
      GE Medical Systems, W641, PO Box 414, Milwaukee, WI  53201
	    (414) 548-5163 : EMAIL -  hallettJ@gemed.ge.com
	     "Keep that sense of humor.  It's critical."
Technical Details
Message-ID: <HALLETT.90Sep6142725@enterprise.positron.gemed.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!uwm.edu!mrsvr.UUCP!mrsvr!hallett

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!uwm.edu!mrsvr.UUCP!mrsvr!hallett
From: hallett@enterprise.positron.gemed.ge.com (Jeff Hallett x5163 )
Newsgroups: comp.unix.programmer
Subject: Dynamic Loading
Message-ID: <HALLETT.90Sep6142725@enterprise.positron.gemed.ge.com>
Date: 6 Sep 90 19:27:25 GMT
Sender: news@mrsvr.UUCP
Reply-To: hallettJ@gemed.ge.com
Organization: PET Engineering - GE Med. Systems, Milwaukee, WI, USA
Lines: 22