Starlink Project
Starlink User Note 202.2

M. J. Bly

19 February 1998

Starlink Subroutine Libraries
A Guide for Program Development and Linking


This note gives a general overview of the methods available for using Starlink Infrastructure subroutine libraries with applications. There is an outline of how to use the include files for a subroutine library, and a guide to the methods available for linking with the subroutine libraries.


1 Introduction
2 Organisation
3 Program Development – INCLUDE files
4 Library Link Scripts
 4.1 Background
 4.2 Compiling and Linking on Linux
 4.3 Static Linking
 4.4 Dynamic Linking