gcc/REVISION in trunk?

Joel Sherrill joel.sherrill@oarcorp.com
Thu Nov 12 20:50:00 GMT 2009


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




More information about the Gcc mailing list