Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Dynamic load: DIGEST
@ 1995-01-27  8:27 Jean-Luc Meunier
  1995-02-04 11:00 ` Paul M. Aoki
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Luc Meunier @ 1995-01-27  8:27 UTC (permalink / raw)



     Hi,

This is a digest of the answers I got to my question about the "dynamic load":

>> I am looking for information on how loading foreign or external code
>> in a running application. (Also called 'dynamic load', 'foreign code load')

It appears now to me that it is possible on (at least) :
SunOS4, SOLARIS, HP-UX, AIX, Unixware, OSF/1

and not possible on ULTRIX


Some tips (which do not replace a look at the man at all...):

- - - - - - - - - - - - - - - - - - - 
On SunOS, SOLARIS, Unixware:     dlopen, dlsym ...

Compile with the -G flag to create a sharable object and link the application
with the dl library.
- - - - - - - - - - - - - - - - - - - 
On HP-UX:     shl_load, shl_findsym ...

The code to be loaded has to be compiled in position-independent (+z/+Z) and
linked using ld -b.
- - - - - - - - - - - - - - - - - - - 
On AIX:     load, loadbind

Compile the shared object using -bE, -bI ...
- - - - - - - - - - - - - - - - - - - 
On OSF/1:      dlopen, dlsym
- - - - - - - - - - - - - - - - - - - 


Thanks to:
casper@fwi.uva.nl   morgan.herrington@nosun.West.Sun.COM  thomas@lkg.dec.com  
dlp@thesphere.com  sarto!jhpb@uunet.uu.net   chaltas@fluid.mro.dec.com
msw@jurassic-50.Eng.Sun.COM   jr@ebi.ac.uk   msteed@TFS.COM
curtw@hpcll58.cup.hp.com  marc@epheh.sde.hp.com  reggie@phys.washington.edu
sellxha@ptsc.slg.eds.com   guy@netapp.com 
 

===============================================================================
   Jean-Luc Meunier			e-mail: JeanLuc.Meunier@cginn.cgs.fr
   Cap Gemini Innovation
   7 chemin du Vieux Chene		tel : (33) 76.76.47.24
   38240 Meylan				fax : (33) 76.76.47.48
===============================================================================


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-02-04 11:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-27  8:27 Dynamic load: DIGEST Jean-Luc Meunier
1995-02-04 11:00 ` Paul M. Aoki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox