Menu

#11 Revision number included in CRT build

open
CRT (12)
5
2009-01-04
2008-05-23
FX
No

It would be nice if the CRT had a way of identifying the revision number for a given build. That'd make it easier for us to ask users about the version of the CRT they use. I'd suggest a __mingw_w64_revnumber() function that takes no argument and would return a pointer to a static string. The build mechanism can extract the revision info from the output of "svn info" (for build from SVN repositories) and use it to provide the function.

For example, see how gcc build mechanism handles that. It allows the (IMHO very nice) feature:

$ gfortran -v 2>&1 | tail -n 1
gcc version 4.4.0 20080510 (experimental) [trunk revision 135154] (GCC)

Discussion

  • NightStrike

    NightStrike - 2009-01-04
    • assigned_to: nobody --> nightstrike
     
  • Kai Tietz

    Kai Tietz - 2009-02-06

    NightStrike,

    is this solved by Mook's recent changes to buildbot?

    Kai

     

Log in to post a comment.