Add revision number to gcc version?
Ben Elliston
bje@au1.ibm.com
Fri Dec 16 08:31:00 GMT 2005
> I like this, but what if you also did an svn status to see if there
> were any modifications WRT the branch/revision and then add either
> 'clean' or 'modified' to the information.
I think this is a good idea (and don't mind the idea of `svn status'
being run from gcc_update to do so), but I wonder if it's necessary to
continue to include the date in the version.c file?
I presume the main reason that the date was placed in version.c in the
first place was that we had no other way to place an overall
identifier on the tree revision with CVS. However, SVN now gives us
one. Including the date now just makes the version string unwieldly,
IMHO.
Ben
More information about the Gcc
mailing list