This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
embedded version number
- To: <gcc-help at gcc dot gnu dot org>
- Subject: embedded version number
- From: "Brent Comsa" <bcomsa at eng dot mcd dot mot dot com>
- Date: Mon, 22 Jan 2001 15:25:11 -0700
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