This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
$Revision$ in version string?
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "GCC Development" <gcc at gcc dot gnu dot org>
- Date: Thu, 21 Jun 2007 17:24:12 +0200
- Subject: $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.