next up previous contents
Next: Updating the ASTERIX Up: De-bugging ASTERIX Code Previous: Generic files

Building Applications

Seperate directories exist under adi for each of the various ASTERIX monoliths; grf, util, hed, int, src, rosxrt, spec & tim. Each of these contains a Makefile similar to the one used for building the libraries.

First an application code file needs to be copied from the directory /lsoft1/asterix/work/allsrc, which contains copies of all the files needed to build and run ASTERIX applictions. NB. The user should endeavour to keep this directory up-to-date. Also copy the corresponding un-compiled interface file ( .ifl).

It is advisable to change the PARAMETER (Version = ...) statement to ensure clarity when testing against standard version. Unless extra libraries are required, most applications can be built with the command,

alink application.f -g -L/lsoft1/asterix/work/rb/adi/lib/$(SYSTEM) \
                        -lmyastlib `asterix_link`
To build for a different platform first remove all necessary object files in that directory. The individual libraries can be used with the notation -lbdi -ladi but the complex calling structure of ASTERIX application makes such a scheme liable to produce unresolved symbols.



Asterix
Tue Jun 23 11:52:19 BST 1998