LINK [ HPTOOLSET XL Reference Manual ] MPE/iX 5.0 Documentation
HPTOOLSET XL Reference Manual
LINK
Prepares an object file and creates a program file.
Syntax
LINK [objfile, progfile]
[;RL=filename[,filename],...]
[;XL=filename[,filename],...]
[;CAP=caplist]
[;NMSTACK=stacksize]
[;NMHEAP=max_heap_size]
[;UNSAT=unsat_name]
[;PARMCHECK=integer]
[;PRIVLEV=integer]
[;ENTRY=entry_name]
[;NODEBUG]
[;MAP]
[;SHOW]
Parameters
Obj File Is the name of the object file to be prepared. If this
parameter is omitted, the workspace object file will be
assumed.
Progfile Is the program file into which the executable code is
placed. If omitted, the workspace program file is
assumed.
All other options are as described for the LINK command in the MPE/XL
Commands Reference Manual (32650-90003).
Description
The TOOLSET/XL LINK command prepares an object file and translates the
source compilation into a program file. If you do not specify an object
and a program file name, the workspace object and program file names as
defined in the Set Workspace menu will be used.
Similarly, if you do not specify any parameters with the LINK command,
the LINK options defined in the Set Workspace menu will be used. For
parameters that were not defined in the menu, TOOLSET/XL will use the
defaults of the MPE XL LINK command.
A workspace program file is automatically saved when it is created with
the LINK command.
Example
>>LINK; CAP=IA,BA,PH
Prepares the workspace object file into the workspace program file using
the MPE XL default options except cap=ia,ba,ph.
>>LINK THISOBJ, THISPROG
Prepares thisobj and translates it into thisprog, using the Link options
as they were defined in the set workspace menu.
>>LINK
Entering the LINK command without parameters is the same as using the
Link key. It prepares the workspace object file and translates it into
the workspace program file using the LINK options as defined in the set
workspace menu.
MPE/iX 5.0 Documentation