X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fversion.c;h=c839cbd272da4abe27ec7b4b686177a0dafe702e;hp=4c6536e14dca8155e443e40d44f03478df3c1b4f;hb=8b0e883501b45c7240394bae2cc694482291a2ea;hpb=f4cbe3278a0618c24e84627559fc54f6cf86f803 diff --git a/gcc/version.c b/gcc/version.c index 4c6536e14dc..c839cbd272d 100644 --- a/gcc/version.c +++ b/gcc/version.c @@ -1,11 +1,14 @@ #include "version.h" -/* This is the string reported as the version number by all components - of the compiler. If you distribute a modified version of GCC, - please modify this string to indicate that, e.g. by putting your - organization's name in parentheses at the end of the string. */ +/* This is the trailing component of the string reported as the + version number by all components of the compiler. For an official + FSF release, it is empty. If you distribute a modified version of + GCC, please change this string to indicate that. The suggested + format is a leading space, followed by your organization's name + in parentheses. You may also wish to include a number indicating + the revision of your modified compiler. */ -const char version_string[] = "4.1.0 20050314 (experimental)"; +#define VERSUFFIX "" /* This is the location of the online document giving instructions for reporting bugs. If you distribute a modified version of GCC, @@ -15,3 +18,8 @@ const char version_string[] = "4.1.0 20050314 (experimental)"; not bugs in your modifications.) */ const char bug_report_url[] = ""; + +/* The complete version string, assembled from several pieces. + BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile. */ + +const char version_string[] = BASEVER DATESTAMP DEVPHASE VERSUFFIX;