diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 00a4a450813..8678e79d3a9 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,9 @@ +Sat Jun 13 03:13:18 1998 Craig Burley + + * 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 * top.h (ffe_decode_option): New argc/argv interface. diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c index 92d9e9a580b..4f5336bd391 100644 --- a/gcc/f/g77spec.c +++ b/gcc/f/g77spec.c @@ -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; diff --git a/gcc/f/version.c b/gcc/f/version.c index a7dc4391b10..4292522d90c 100644 --- a/gcc/f/version.c +++ b/gcc/f/version.c @@ -1 +1 @@ -char *ffe_version_string = "egcs-0.5.23"; +char *ffe_version_string = "0.5.23";