>>SOM #1
>>@(#) HP30315 A.05.10 95/02/08 NRT0 Startup routine
>>@(#) HP30315 A.06.01 97/04/16 HP Link Editor/iX
>
>We use this to our advantage by using the appropriate $version
>compiler directive in respective compilers to generate a version
>string that is viewable with 'version'. In our case the module
>list(s) are not usually > 20 as all of our support routines are
>found in XL's.
While on the subject of $VERSION compiler directives... When using
the GNU gcc compiler, you won't have that luxury. However, you can
use a related trick by placing static string declarations into the
source code that use a character sequence like "$Id: blah blah $".
The resulting strings end up inside the object code and can then be
viewed with the /bin/ident utility that comes with the Posix Shell.
I used this approach with the Samba 2.0.10/iX programs, for example.
Lars.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *