HP 3000 Manuals

Using an Indirect File [ Getting Started as an MPE/iX Programmer Programmer's Guide ] MPE/iX 5.0 Documentation


Getting Started as an MPE/iX Programmer Programmer's Guide

Using an Indirect File 

An indirect file is an ASCII file containing a list of names.  You can
use indirect file names in HP Link Editor/XL commands instead of
individually entering each name contained in the file.  You can also mix
indirect and regular file names in commands.  Indirect files are a
convenient way to enter a long list of names for commands that you use
frequently.  You can use indirect files only with the following commands
in the specific parameters given in parentheses.

          LINK        (FROM=, RL=, and XL=)
          ADDRL       (FROM= and RL=)
          COPYRL      (ENTRY=, MODULE=, and LSET=)
          EXTRACTRL   (ENTRY=, MODULE=, and LSET=)
          LISTRL      (ENTRY=, MODULE=, and LSET=)
          PURGERL     (ENTRY=, MODULE=, and LSET=)
          ADDXL       (FROM=, RL=, ENTRY=, MODULE=, and LSET=)
          COPYXL      (ENTRY=, MODULE=, and LSET=)
          LISTXL      (ENTRY=, MODULE=, and LSET=)
          PURGEXL     (ENTRY=, MODULE=, and LSET=)

When you create an indirect file, enter one or more names on each line,
using as many lines as necessary.  Use a space or a comma to separate
each name on a line.  Make sure that HP Link Editor/XL has read access to
the file.

To use an indirect file in a command, precede its name by a caret.

For example, if an ASCII file named OBJLIST contained the lines

          LIB1OBJ
          LIB2OBJ
          LIB3OBJ
          LIB4OBJ
          LIB5OBJ

you can use the indirect file OBJLIST in the following commands to add
the five relocatable object files named in OBJLIST to the relocatable
library named LIBRL:

          :LINKEDIT
     LinkEd> BUILDRL LIBRL
     LinkEd> ADDRL FROM=JLIST
     LinkEd> EXIT



MPE/iX 5.0 Documentation