g77spec.c (lang_specific_driver): Print out egcs version info first...
authorCraig Burley <burley@gnu.org>
Mon, 15 Jun 1998 07:54:39 +0000 (03:54 -0400)
committerDave Love <fx@gcc.gnu.org>
Mon, 15 Jun 1998 07:54:39 +0000 (07:54 +0000)
Sat Jun 13 03:13:18 1998  Craig Burley  <burley@gnu.org>
* g77spec.c (lang_specific_driver): Print out egcs
version info first, to be compatible with what some
test facilities expect.

From-SVN: r20508

gcc/f/ChangeLog
gcc/f/g77spec.c
gcc/f/version.c

index 00a4a4508138b44dcdd79221ffaf2351665ddcfb..8678e79d3a9177792458a51ad3b57e2f5811de5a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Jun 13 03:13:18 1998  Craig Burley  <burley@gnu.org>
+
+       * g77spec.c (lang_specific_driver): Print out egcs
+       version info first, to be compatible with what some
+       test facilities expect.
+
 Wed Jun 10 13:17:32 1998  Dave Brolley  <brolley@cygnus.com>
 
        * top.h (ffe_decode_option): New argc/argv interface.
index 92d9e9a580b0879c3203bd7761adaba9634b81a3..4f5336bd391500bd9a0048d0f72c294d7fb45d6b 100644 (file)
@@ -107,6 +107,8 @@ static char **g77_newargv;
 
 extern char *xmalloc PROTO((size_t));
 
+extern char *version_string;
+
 /* --- This comes from gcc.c (2.8.1) verbatim: */
 
 /* This defines which switch letters take arguments.  */
@@ -375,7 +377,8 @@ lang_specific_driver (fn, in_argc, in_argv, in_added_libraries)
 
        case OPTION_v:
          if (! verbose)
-           fprintf (stderr, "g77 version %s\n", ffe_version_string);
+           fprintf (stderr, "g77 version %s (from FSF-g77 version %s)\n",
+                    version_string, ffe_version_string);
          verbose = 1;
          break;
 
index a7dc4391b104cd9dafc403be7816a2b8d8c5d791..4292522d90c04c9c1366d2f36b6f75b1abf84556 100644 (file)
@@ -1 +1 @@
-char *ffe_version_string = "egcs-0.5.23";
+char *ffe_version_string = "0.5.23";