From: meunier@capsogeti.fr (Jean-Luc Meunier)
Subject: Dynamic load: DIGEST
Date: 27 Jan 1995 08:27:10 GMT [thread overview]
Message-ID: <3gaaou$gl0@csinn.cgs.fr> (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
===============================================================================
next reply other threads:[~1995-01-27 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-01-27 8:27 Jean-Luc Meunier [this message]
1995-02-04 11:00 ` Dynamic load: DIGEST Paul M. Aoki
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox