HP 3000 Manuals

Operation [ MPE/iX System Utilities Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX System Utilities Reference Manual

Operation 

To invoke LINK EDITOR/XL for interactive use enter:

     LINKEDIT 

LINK EDITOR/XL displays the LinkEd prompt, where you may enter any LINK
EDITOR/XL command.

You may also invoke LINK EDITOR/XL with an info string that contains a
LINK EDITOR/XL command as follows:

     RUN LINKEDIT.PUB.SYS;INFO=info-string 

For example, to link the object modules from the compiled object file
LINEDRAW and place the executable module into a file name GRAF, enter the
following:

     RUN LINKEDIT.PUB.SYS;INFO="LINK LINEDRAW,GRAF" 

Commands 

The following tables list LINK EDITOR/XL commands in alphabetical order
within function.

          Table 12-1.  Miscellaneous Link Editor/XL Commands 
------------------------------------------------------------------------------------------
|                                                                                        |
|       COMMAND                                  DESCRIPTION                             |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| EXIT                Quits an interactive Link Editor session.                          |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| LINK                Creates an executable program file.                                |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| LISTOBJ             Lists the contents of an object file.  The listing shows the       |
|                     symbols contained within the file.                                 |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| LISTPROG            Lists the contents of an executable program file.  The listing     |
|                     shows the symbols contained within the file.                       |
|                                                                                        |
------------------------------------------------------------------------------------------

          Table 12-2.  RL Link Editor Commands 

------------------------------------------------------------------------------------------
|                                                                                        |
|       COMMAND                                  DESCRIPTION                             |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| ADDRL               Adds all object modules from a named object file into a            |
|                     relocatable library.                                               |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| BUILDRL             Builds and initializes a file as a new relocatable library.  This  |
|                     library becomes the current relocatable library for subsequent     |
|                     interactive commands.                                              |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| CLEANRL             Rebuilds a relocatable library by removing any fragmentation and   |
|                     leaving room for 25% expansion within its internal tables.         |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| COPYRL              Copies selected object modules from one relocatable library to     |
|                     another.                                                           |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| EXTRACTRL           Extracts selected object modules from a relocatable library,       |
|                     placing them into a new object file.  Modules may be selected by   |
|                     name, locality set, or entry point.                                |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| HIDERL              Hides a symbol so the symbol can no longer be used to resolve      |
|                     external references between other modules.                         |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| LISTRL              Lists the contents of a relocatable library.  The listing shows    |
|                     the names of each object module and the symbols within the         |
|                     library.                                                           |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| PURGERL             Deletes selected object modules from a relocatable library.        |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| REVEALRL            Reveals a symbol that was previously hidden by the HIDERL command. |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| RL                  Selects an existing file as the current relocatable library for    |
|                     subsequent interactive commands.                                   |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| SHOWRL              Displays the name of the current relocatable library.              |
|                                                                                        |
------------------------------------------------------------------------------------------

          Table 12-3.  XL Link Editor Commands 

------------------------------------------------------------------------------------------
|                                                                                        |
|       COMMAND                                  DESCRIPTION                             |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| ADDXL               Adds all object modules from an object file or a relocatable       |
|                     library to an executable library.                                  |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| BUILDXL             Builds and initializes a new executable library.  This library     |
|                     becomes the current executable library for subsequent interactive  |
|                     commands.                                                          |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| CLEANXL             Rebuilds an executable library by removing any fragmentation and   |
|                     leaving room for 25% expansion within its internal tables.         |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| COPYXL              Copies selected object modules from one executable library to      |
|                     another.                                                           |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| LISTXL              Lists the contents of an executable library.  The listing shows    |
|                     the names of each object module and the symbols within the         |
|                     library.                                                           |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| PURGEXL             Deletes selected object modules from an executable library.        |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| SHOWXL              Displays the name of the current executable library.               |
|                                                                                        |
------------------------------------------------------------------------------------------
|                                                                                        |
| XL                  Selects an existing executable library to be the current           |
|                     executable library for subsequent interactive commands.            |
|                                                                                        |
------------------------------------------------------------------------------------------

Additional Discussion 

For more information refer to HP Link Editor/XL Reference Manual 
(32650-90030).



MPE/iX 5.0 Documentation