On Unix systems (Sun, DEC Alpha etc.):
% f77 progname.o -L/star/lib `sla_link` -o progname(The above assumes that all Starlink directories have been added to the LD_LIBRARY_PATH and PATH environment variables as described in SUN/202.)
On VAX/VMS:
$ LINK progname,SLALIB_DIR:SLALIB/LIB
SLALIB --- Positional Astronomy Library