Next: EXAMPLE APPLICATIONS
Up: COMPILING AND LINKING
Previous: ADAM Applications
In the examples above, the library search path /star/lib has been
specified (implicitly in the case of the alink command) in order to
link against a non-shareable version of the NDF_ library. This
approach is recommended as it generally results in better performance,
although it does mean that applications must be re-built to take
advantage of any new version of the library.
For some purposes, especially during development work, the use of
shareable libraries may be preferred. On those systems where they
are supported, these may be found in a .../share directory
corresponding to the normal .../lib directory (i.e. in
/star/share on Starlink systems). This directory should be specified
in the library search path, along with any additional flags that the
compiler may require in order to specify that libraries be linked
dynamically (i.e. shareably).
Next: EXAMPLE APPLICATIONS
Up: COMPILING AND LINKING
Previous: ADAM Applications
Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk
Copyright © 2000 Council for the Central Laboratory of the Research Councils