HP3000-L Archives

September 2001, Week 3

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:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Wed, 19 Sep 2001 11:59:23 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (70 lines)
Re:
> determine the executable's capabilities.  My question is: how do I determine
> the xl or rl libraries it might be pointing to?

(assuming it's an NMPRG file, not a PROG file):

You can determine the XL's via:

   :linkedit
   listprog CJMAIN.PUB.CJISII

   (be ready to hit control-Y :)

The XL list, and capabilities, NMSTACK, etc, will be displayed at the start.
Example:

:linkedit
listprog splash.pub.splash

PROGRAM        : SPLASH.PUB.SPLASH
XL LIST        :
CAPABILITIES   : BA, IA, DS, PH
NMHEAP SIZE    : 30000000
NMSTACK SIZE   : 1000000
ENTRY NAME     :
UNSAT NAME     :
PRIORITY       :
MAX PRIORITY   :
POSIX          : NO
SHARED DATA    : NO
TEXT SIZE      : 0019F110
DATA SIZE      : 00010FF8
VERSION        : 85082112


Sym                       C H X P Sym    Sym        Sym     Lset
Name                              Type  Scope      Value    Name
----                      - - - - ----  -----      -----    ----
$START$                   0   3 3 sec_p univ       001A5D04
ASCII                     0   3 3 entry univ       0019924C FAST
...


In the above example, there is no XL list.  Since "NMHEAP" and "NMSTACK"
have values shown, then we know that those two values were specified
at LINK (or via a subsequent ALTPROG within LINKEDIT).

Thus:

   :link splash.o, splash.p; nmstack=30000000; nmheap=1000000; cap=ia,ba,ds,ph

would be appropriate.

As for NLRLs...you can't necessarily tell from an NMPRG file if a paritcular
procedure came from an NMRL or an NMOBJ (AFAIK).  I recommend: compile,
then link, then try to run ... if you get a list of unresolved externals, then
they probably were expected to be linked in, so you can start looking for
more NMOBJ files, or an NMRL file.


If it's a PROG file (CM program), then things are different, and I'll assume
you'll let us know.

Stan
Stan Sieler                                           [log in to unmask]
www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2