The files required for compiling and linking applications which use the TRANSFORM facility reside in the standard locations - usually /star/include for the Fortran INCLUDE files, /star/lib for the object library and /star/bin for the development and link scripts.
Files and routines from the PRIMDAT facility (SUN/39) are also required. The INCLUDE file names used by both of these facilities must first be defined by executing the commands:
% prm_dev % trn_dev
Applications which contain Fortran INCLUDE statements associated with the TRANSFORM facility may then be compiled.
ADAM applications should be linked using the link script trn_link_adam. This script automatically links in the required PRIMDAT library as well as all the other required Starlink libraries. For instance, to link an application called PROG, the ADAM command:
% alink prog.f -o prog `trn_link_adam`
should be used.
TRANSFORM Coordinate Transformation Facility