HP3000-L Archives

March 1995, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mike Paivinen <[log in to unmask]>
Reply To:
Mike Paivinen <[log in to unmask]>
Date:
Fri, 24 Mar 1995 03:16:35 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Ray KINGSBURY ([log in to unmask]) wrote:
<snip>
: Is there a way to write a CM->NM switch stub that can call a subprogram
: in an XL that calls a procedure in another XL? Has anybody else run
: up against this?  The truth is, we don't actually have all that many
: subprograms that we implement in this manner, but I'd probably set up
: more this way If I could figure out how to bind multiple XLs out of a
: CM->NM switch stub.
 
After posting my prior response, I found out about an enhancement that is
under investigation in the lab.  [I guess I don't know everything that's
going on after all.]  The enhancement is to add dependent libraries to MPE/iX.
I've attached a brief description of what dependent libraries are.  They
would solve the problem you described.  Each XL points to the XLs it's directly
dependent on.  So, you only have to pass to switch the library containing the
routine you want to switch to.  All the other required libraries would be
loaded as dependent libraries.  Even the XL list for your program file would
only have to include those libraries that are known to satisfy externals for
the program.  All the other libraries would be loaded via the dependent
library lists.
 
Mike P.
-----------------------
Dependent Libraries
 
Dependent libraries are libraries that should be loaded in addition to the
executable library (XL) that is currently loaded.  The loader will load a
library and then load its dependents (if any) if the dependents were not
previously loaded.  Dependent libraries may be specified when building
the XL or by using a new command to alter the dependent library list in an
existing XL.
 
Example:
 
If an XL, lib1 was built with dependent libraries
lib2 and lib3, and lib2 had its own dependent libraries lib4 and lib5,
the load graph would look like:
 
   lib1 -> lib2 -> lib4 -> lib5 -> lib3 -> XL.PUB.SYS
 
The loader will honor dependent libraries both at the time a program
file is loaded or when a library is loaded dynamically, as with
HPGETPROCPLABEL or HPSWTONMNAME.

ATOM RSS1 RSS2