next up previous
Next: The AST Class Hierarchy
Up: Compiling and Linking Software that Uses AST
Previous: Linking with AST Facilities

Building ADAM Applications that Use AST

Users of Starlink's ADAM programming environment on UNIX should use the ``alink'' command (SUN/144) to compile and link applications and can access the AST library by including execution of the command ``ast_link_adam'' on the command line, as follows:

alink adamprog.f `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/4) so that error handling by AST is consistent with the inherited status error handling normally used in Starlink software.

Switches may be given to the ``ast_link_adam'' command (in a similar way to ``ast_link''--[*]) in order to link with additional AST-related facilities, such as a graphics interface. See the ``ast_link_adam'' command description in [*] for details of the options available.



next up previous
Next: The AST Class Hierarchy
Up: Compiling and Linking Software that Uses AST
Previous: Linking with AST Facilities

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
30th April 2003
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2003 Central Laboratory of the Research Councils