Add revision number to gcc version?

David Daney ddaney@avtrex.com
Fri Dec 16 02:35:00 GMT 2005


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



More information about the Gcc mailing list