This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-v should print also the revision number in repo
- From: "U.Mutlu" <um at mutluit dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 13 Jun 2018 21:32:24 +0200
- Subject: -v should print also the revision number in repo
Hi,
currently -v (ie. gcc -v) prints these data:
gcc version 9.0.0 20180613 (experimental) (GCC)
It would be nice, when building from a repository that then the resulting
target should contain also the revision number (for example "r261543")
of the underlying repository, so that gcc -v then prints this info as well.
Maybe the respective revision nbr of the repository used (svn, git, ...),
or perhaps better: a new generic solution with a unique & common rev-nbr
for all repos (and non-repos): a new file with rev-info in the repo-root
could do the trick, IMO...
Thx