This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc/REVISION in trunk?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]