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] | |
On Mon, Nov 14, 2005 at 02:05:47PM -0800, H. J. Lu wrote: > On Mon, Nov 14, 2005 at 12:52:49PM -0800, Mike Stump wrote: > > On Nov 14, 2005, at 9:14 AM, H. J. Lu wrote: > > >Can we change it to something like > > > > > >gcc (GCC) 4.1.0 20051113 (revision 106863) (experimental) > > > > Doesn't work, unless you also have the branch name. Further, the > > substitutions that svn can do, doesn't allow for the above, and they > > don't want to `fix' svn to do it (see the FAQ). (I think I'd like it > > too.) > I am enclosing 2 patches: 1. contrib/gcc_update creates gcc/REVISION with branch name and revision number. 2. If gcc/REVISION exists, it will be used in gcc/version.c. With those 2 patches, I got [hjl@gnu-13 gcc]$ ./xgcc --version xgcc (GCC) 4.1.0 (gcc-4_1-branch revision 108596) 20051215 (prerelease) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. and [hjl@gnu-13 gcc]$ ./xgcc --version xgcc (GCC) 4.2.0 (trunk revision 108596) 20051215 (experimental) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. H.J.
Attachment:
gcc-update-rev-1.patch
Description: Text document
Attachment:
gcc-rev-1.patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |