next up previous 216
Next: References
Up: PSX POSIX interface routines
Previous: X/OPEN


Compiling and Linking

To use the PSX routines, you first need to `log on' for development by using the psx_dev command to create the necessary soft links in your directory so that you can use the short form of the include file names.

% psx_dev

If a FORTRAN program wishes to check for a particular error status returned by a PSX routine, then it should contain the line

INCLUDE 'PSX_ERR'

The use of upper-case in the file name is important. This will define the symbolic constants listed in appendix [*].

To compile and link a program that uses the PSX library, type

% f77 program.f -L/star/lib `psx_link` -o program



next up previous 216
Next: References
Up: PSX POSIX interface routines
Previous: X/OPEN

PSX POSIX interface routines
Starlink User Note 121
P M Allan
A J Chipperfield
10 April 2003
E-mail:ussc@star.rl.ac.uk

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