COPYXL [ HP Link Editor/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Link Editor/XL Reference Manual
COPYXL
This command copies executable modules from one executable library to
another. You can copy individual modules by their module, block data
subprogram, procedure entry point, or locality set name.
Syntax
COPYXL [ENTRY= entry_name [ ,entry_name]...]
[;MODULE= module_name [ ,module_name]...]
[;BLOCKDATA= blockdata_name [, blockdata_name]...]
[;LSET= lset_name [ ,lset_name]...]
[;FROM= source_file]
[;TO= dest_file]
[;REPLACE]
Parameters
The first four parameters (ENTRY, MODULE, BLOCKDATA, and LSET) identify
specific modules to copy. You can use any one by itself, or you can use
them in combination. If you omit these parameters, the entire
relocatable library is copied.
entry_name Copies the module(s) that define (export) the
symbolic
entry_name. You can enter an indirect file for this
parameter. Entry_name is case sensitive.
module_name Copies only those modules having the name,
module_name. If you do not use the RLFILE compiler
directive, this is the name of the source file from
which the relocatable object module was compiled. If
you use the RLFILE compiler directive, see the
appropriate language appendix (appendix B, C, D, or
E) for the definition of this name. You can enter an
indirect file for this parameter.
blockdata_name Copies only those modules having the name,
blockdata_name. Use this parameter only for HP
FORTRAN 77 block data subprograms. You can use an
indirect file name for blockdata_name.
lset_name Copies those modules that contain code belonging to
the locality set ( lset_name) that you enter. A
module can contain several locality sets, or there
can be several modules within a locality set. Each
compiler provides its own directives for placing
procedures into locality sets (check your language
manual to see if locality sets are available). You
can enter an indirect file for this parameter.
source_file Names the executable library that the link editor
searches to find the specified modules. The file
must have an NMXL filecode. Default: the current
executable library established by the last BUILDXL or
XL command. (If you use the default, you must enter
the TO= dest_file parameter.)
dest_file Names the executable library where the modules are
placed. When dest_file is an existing file, it must
have the filecode NMXL. Default: the current
executable library established by the last BUILDXL or
XL command. (If you use the default, you must enter
the FROM= source_file parameter.)
REPLACE Specifies that when symbols in the module(s) being
copied are duplicates of symbols in any module in the
destination library, then the modules with duplicate
symbols residing in the destination library are
removed. The new module is added before any of the
modules in the library are removed.
Examples
LinkEd> COPYXL LSET=FILEINTRINS;TO=FILEIO
This command copies all executable modules which are associated with the
FILEINTRINS locality set from the current executable library and places
them into the FILEIO executable library.
LinkEd> COPYXL FROM=FILEREAD
This command copies all executable modules from the executable library
FILEREAD and places them into the current executable library.
MPE/iX 5.0 Documentation