embedded version numbers

Brent Comsa bcomsa@eng.mcd.mot.com
Mon Jan 22 14:27:00 GMT 2001


Hello,
I have been 
searching the onlinedocs Index at gcc.gnu.org and I cannot seem to find a way to 
embed a "version" into an object file. 
I was looking for 
some keyword like "__DATE__" to embed a date in the object file, which we could 
then use octl dump to identify the date ("version") of the object 
file.
But using a date as 
a version number is not accurate if new objects are created repeatedly on the 
same day.
Are there any 
compiler options available to me?
 
Bc



More information about the Gcc mailing list