next up previous 85
Next: Debugging your code
Up: The User Code Interface
Previous: The ``LOGICAL USER'' Function


Building your own binary

Having written your USER code, you can build your own dipso binary.

You must first set the environment variable SYSTEM appropriately for your system: alpha_OSF1 for AXP OSF/1, or sun4_Solaris for Sparc Solaris 2.x.

Then, you can compile and link a new binary by typing:

   % dipsosetup
   % my_dipso

If you wish to link in subroutines contained in object modules sub1.o, sub2.o etc, you should define an environment variable MY_OBJECTS specifying these object files:

   % setenv MY_OBJECTS "sub1.o sub2.o sub3.o"
   % dipsosetup
   % my_dipso

This leaves you with a personal copy of dipso in the directory you're working in. You should then set up an alias to run this version in preference to the system version:

   % alias dipso <where ever>/dipso


next up previous 85
Next: Debugging your code
Up: The User Code Interface
Previous: The ``LOGICAL USER'' Function

DIPSO --- A friendly spectrum analysis program
Starlink User Note 50
I D Howarth, J Murray, D Mills & D S Berry
5th March 2004
E-mail:starlink@jiscmail.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils