This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Report branch/revsion info from "gcc -v"
On Aug 16, 2007, "H.J. Lu" <hjl@lucon.org> wrote:
> 2006-01-23 H.J. Lu <hongjiu.lu@intel.com>
> * Makefile.in (REVISION): New.
> (REVISION_c): New.
> (REVISION_s): New.
> (version.o): Also depend on $(REVISION). Add
> -DREVISION=$(REVISION_s).
This is ok
> * version.c (version_string): Add REVISION.
I'm not sure I can approve this. Although it looks obvious enough,
it's a new feature, and I'm not sure it's a consensus that it's
desirable. As in, in the absence of approval from a global
maintainer, put it in at your own risk ;-)
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}