summaryrefslogtreecommitdiff
path: root/gcc/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/version.c')
-rw-r--r--gcc/version.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/version.c b/gcc/version.c
new file mode 100644
index 000000000..974444972
--- /dev/null
+++ b/gcc/version.c
@@ -0,0 +1,36 @@
+/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+ 2007 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+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.
+
+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
+<http://www.gnu.org/licenses/>. */
+
+#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 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 version_string[] = BASEVER DATESTAMP DEVPHASE REVISION;
+const char pkgversion_string[] = PKGVERSION;