Next: ADAM Applications
Up: COMPILING AND LINKING
Previous: Logging in for NDF_ Development
Standalone applications which use NDF_ routines may be linked by
including execution of the command ``ndf_link'' on the compiler
command line. Thus, to compile and link a Fortran application called
``prog'', the following might be used:
% f77 prog.f -L/star/lib `ndf_link` -o prog
while for an application written in C, you might use:
% cc prog.c -L/star/lib `ndf_link` -o prog
Note the use of backward quote characters, which cause the
``ndf_link'' command to be executed and its result substituted into
the compiler command.
Next: ADAM Applications
Up: COMPILING AND LINKING
Previous: Logging in for NDF_ Development
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