12 Compiling and linking

Assuming that $ ADAMSTART has been obeyed to start ADAM, type:

  $ ADAM_DEV

This will define logical names for include files such as SAE_PAR and ACT_ERR and display the message “+ logged in for ADAM program development”. User-code for tasks may now be compiled.

To link instrumentation tasks, type:

  $ ILINK task [qual] [*]

task
(mandatory) is the list of user routines, libraries etc. required for input to the linker. Note that the ADAM libraries will be included automatically. The executable image produced will take its name from the first item specified.
qual
(optional) is any qualifiers required for the linker (e.g. /DEBUG).
*
(optional) specify * if it is required to link with ADAM object libraries rather than the shareable images. Note that the full ADAM release must be installed and $ @ADAM_SYS:SYSDEV obeyed for this option to work. If * is specified, qual must also be specified (use /NODEBUG if nothing else is required).