LINK - invoke GELOAD from TSS.
Syntax:
link [object]* [option]*
Base=base (36) Memory=number (18)
Hstar=file (.h) Library=library
LoaderMemory=number (7) MAp=file (fc*p*)
Name=name (object) Rstar=file
Use=names (+|-)sysLib (-)
Option=options Entry=symdef
Examples:
link u=bstack/500/,......,main o=nofcb l=/mylib l=b/blib
link o=nosetu
link
link obj1 obj2 n=progs
Options:
- Base=base
- supplies a base for the $LOWLOAD card. The default is 36.
- Entry=symdef
- specifies the entry point for the program.
- Hstar=file
- specifies an H* file. The default is ".h".
- Library=library
- specifies a library from which to load object decks. You
may specify up to 10 libraries. LINK searches them in the
order given on the command line.
- LoaderMemory=number
- specifies the amount of memory the loader may use for its
symbol table. The value supplied must be greater than
five. It defaults to 6K. You can use LoaderMemory= along
with Memory= to avoid a memory address fault from GELOAD.
- MAp=file
- specifies a file for the load map. The resulting file is
in print image format, suitable for SLISTing. The default
is a temporary file named "fc*p*".
- Memory=number
- specifies the number of K of memory the loader program
may use. The value specified cannot be greater than 150.
It defaults to 16K.
- Name=name
- specifies the name to be used on the SAVE option of the
$OPTION card. The default name is OBJECT.
- Option=options
- specifies a list of options for a $OPTION card. Option=
may be followed by a list of up to 20 options, separated
by commas; each such option generates a separate $OPTION
card. LINK automatically generates NOGO and SAVE options.
- Rstar=file
- names an R* file. The file must be media 2 BCD (written
using WB in Fred, for example). This option is provided
for those cases in which the facilities of LINK are
insufficient for providing the desired loader options.
For example, Rstar= is the only way to supply $ENTRY and
$NLOAD cards. If you want to use libraries, they must be
specified through the Library= option; the R* file must
contain a $LIBRARY card with library file codes L0
through Ln where n must be less than 10.
- Use=names
- supplies a list of names for a $USE card. You may specify
up to 20 separate Use= options. Each generates a separate
$USE card.
- +sysLib
- uses system libraries L* and *L. This option is necessary
for FORTRAN, ALGOL, and COBOL.
Description:
LINK invokes GELOAD via DRL TASK. By default, it produces a
load module in the temporary file ".h". You may specify
up to 20 object files. If no arguments are given, LINK attempts
to load object decks from the file B*; thus "link" is
equivalent to "link b*". If you specify some options
but don't specify an object file, LINK doesn't use an object
file.
Copyright © 1996, Thinkage Ltd.