Albert Andreu(deleted)
|
Displaying the version numbers of the source used in an executable. IDENT for QNX6 - #IDENT directives -
|
Albert Andreu(deleted)
02/02/2010 6:01 AM
post46367
|
Displaying the version numbers of the source used in an executable. IDENT for QNX6 - #IDENT directives -
Hi,
I'm trying to find the way to know version numbers of the source used to genarate an executable in QNX6. We've been
lately uploading our code to a CVS server so this would be a great deal for us.
We are doing this right now with our QNX4 projects using RCS IDENT and CVS keywords. Basically, we declare a variable
containing the information we want to read afterwards:
[static char rcsid[]="$Id$"] [CVS replaces $Id$ with the info]
And then, we get to know revision numbers using the IDENT utility.
But, in QNX6 ther is no RCS or IDENT (correct me if I am wrong). Does anybody know the way to do the same we are doing
in QNX4??
I've been trying some alternatives but none of them has worked:
- I've tried de #ident directive which the preprocessor ignores.
- I've tried the "use -s" but I am always getting "No info available in ..." So, clearly I am putting the
information in the wrong place.
BTW, I'm using IDE 3.0 under QNX Momentics 6.3.0 SP2
|
|
|