X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fversion.c;h=9744449722e1413c64877a5ba1e86ab3399678c1;hb=a6ef1f093ce10f87b51d5772df68eb8e170b91b0;hp=10f1bbdffcd27e3fb09b8113d23fef34b4ba7486;hpb=8d818afb14be9bc6b47c80973676ef38390b2529;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/version.c b/gcc/version.c index 10f1bbdffcd..9744449722e 100644 --- a/gcc/version.c +++ b/gcc/version.c @@ -1,17 +1,36 @@ -#include "version.h" +/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, + 2007 Free Software Foundation, Inc. + +This file is part of GCC. -/* 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. */ +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. -const char version_string[] = "4.0.0 20050103 (experimental)"; +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ + +#include "version.h" /* This is the location of the online document giving instructions for reporting bugs. If you distribute a modified version of GCC, - please change this to refer to a document giving instructions for - reporting bugs to you, not us. (You are of course welcome to - forward us bugs reported to you, if you determine that they are - not bugs in your modifications.) */ + please configure with --with-bugurl pointing to a document giving + instructions for reporting bugs to you, not us. (You are of course + welcome to forward us bugs reported to you, if you determine that + they are not bugs in your modifications.) */ + +const char bug_report_url[] = BUGURL; + +/* The complete version string, assembled from several pieces. + BASEVER, DATESTAMP, DEVPHASE, and REVISION are defined by the + Makefile. */ -const char bug_report_url[] = ""; +const char version_string[] = BASEVER DATESTAMP DEVPHASE REVISION; +const char pkgversion_string[] = PKGVERSION;