This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Add revision number to gcc version?


H. J. Lu wrote:
On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote:

Daniel Jacobowitz wrote:

On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote:


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.

So you would get (gcc-4_1-branch revision 108596 modified) or (gcc-4_1-branch revision 108596 clean)


I think we already had this discussion and decided that svn status took
too long in many cases.


Maybe have a configure option to disable svn status and return 'unknown' if you disable the svn status part.


Did you mean something like

./contrib/gcc_update --disable-svn-status

I can certainly do that.



No I meant from the top level configure. Something like this:


../gcc/configure --disable-svn-status-in-gcc-version-string --other-configure-parameters


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