To build a simple AST program that doesn't use graphics, use:
f77 program.f -L/star/lib -I/star/include `ast_link` -o program
On Linux systems you should usually use
g77 -fno-second-underscore in
f77 - see ``Software development on Linux'' in SUN/212.
To build a program which uses PGPLOT for graphics, use:
f77 program.f -L/star/lib `ast_link -pgplot` -o program
g77 -fno-second-underscore in place of
on Linux systems.
For more details about accessing AST include files, see
. For more
details about linking programs, see and the
description of the ``ast_link'' command in
AST A Library for Handling World Coordinate Systems in Astronomy