Uros Bizjak wrote:
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.

I have the following in my build script:

  echo $VERSION > $BLDDIR/gcc/gcc/DEV-PHASE

$VERSION shows up in place of "experimental".

--
Michael Eager    [EMAIL PROTECTED]
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

Reply via email to