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]

$Revision$ in version string?


Hello!

Is there a way to add automatically updated SVN revision number to gcc
version string? Something similar to $Revision$ in RCS?

I think it would be quite informative if during development phase "gcc
--version" would report it like:

gcc --version
gcc (GCC) 4.3.0 20070621 (experimental) Revision XXXXX

Perhaps it can also include branch name.

Uros.


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