This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

embedded version number


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
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]