This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/REVISION in trunk?
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Thu, 12 Nov 2009 14:50:32 -0600
- Subject: Re: gcc/REVISION in trunk?
- References: <4AFC73FD.7000306@starynkevitch.net>
Basile STARYNKEVITCH wrote:
Hello All
It seems that gcc/Makefile.in and friends support that the gcc/REVISION contains some revision numbering.
Why does gcc/REVISION in the trunk svn does not contains something like
$Revision$
or perhaps having the gcc/Makefile.in containing something like around line 805
REVISION := $(shell svn info $(srcdir) | $(AWK) '/Revision/{print $$2}')
or some more robust trick?
I mean, there is very probably a way to retrieve automagically the svn revision number of the trunk.
If it is not used, I would believe there are profound reasons for that. Which ones?
(or perhaps I am wrong in regularily updating my trunk's copy with svn update ??)
Update using ./contrib/gcc_update and REVISION should be updated.
Mine shows this:
$ cat gcc/REVISION
[trunk revision 154029]
Regards.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985