next up previous 65
Next: ADAM Link Scripts
Up: Compiling and Linking
Previous: Compiling and Linking


Include Files

All public include files, such as pkg_par and pkg_err files, will be found in /star/include.

The filenames of the Fortran include files are in lower case but they should be specified in the program in the standard Starlink way. That is, for example:

INCLUDE 'SAE_PAR'
INCLUDE 'PAR_ERR'
Links are then set up to the public include files in /star/include using the appropriate pkg_dev script. For example:
% par_dev
creates links PAR_PAR and PAR_ERR to /star/include/par_par and /star/include/par_err respectively. (SAE_PAR is defined by star_dev.)

For C programs, includes take the normal form:

#include "par_err.h"
(-I/star/include is included in the link scripts).



next up previous 65
Next: ADAM Link Scripts
Up: Compiling and Linking
Previous: Compiling and Linking

ADAM
Starlink User Note 144
A J Chipperfield
17 August 2001
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils