8 Compiling and Linking

To compile and link a UNIX ADAM application with the ARD package, the following commands should be used (see SUN/144):

      % alink adamprog.f -L/star/libard_link_adam

(note the use of opening apostrophes (‘) rather than closing apostrophe (’) ). To compile and link a stand-alone UNIX application with the ARD package, the following commands should be used:

      % f77 prog.f -o prog -L/star/libard_link

This produces an executable image called prog.

The ADAM and stand-alone versions of the ARD_ system differ, in that the stand-alone version does not contain the routine ARD_GROUP.