Users of Starlink's ADAMsg4 programming environment on UNIX should use the ``alinksun144ADAM_link_scripts'' command (SUN/144sun144) to compile and link applications and can access the AST library by including execution of the command ``ast_link_adamast_link_adam'' on the command line, as follows:
alink adamprog.c `ast_link_adam`
Note the use of backward quote characters.
By default, AST error messages produced by applications built in this way will be delivered via the Starlink EMS Error Message Service (SSN/4ssn4) so that error handling by AST is consistent with the inherited statussun104inherited_status error handling normally used in Starlink software.
Switches may be given to the ``ast_link_adam'' command (in a similar way to ``ast_linkast_link''--22.2) in order to link with additional AST-related facilities, such as a graphics interface. See the ``ast_link_adam'' command description in E for details of the options available.