summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-05 22:55:19 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-05 22:55:19 +0000
commit4a0e2d42652a3252dd5830e43b43d312e6568a99 (patch)
tree8dd4b247d2357803a65553c78f9a78399de88075 /gcc
parent3fdf0a02ca043cc722cd4800e7c77c8302e93abd (diff)
downloadppe42-gcc-4a0e2d42652a3252dd5830e43b43d312e6568a99.tar.gz
ppe42-gcc-4a0e2d42652a3252dd5830e43b43d312e6568a99.zip
* configure: Save configure arguments to gcc/configargs.h.
* gcc.c (main): Include generated configargs.h header and use arguments in '-v' output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36734 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcc.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 941a6e451fb..627fb1ce232 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-05 Phil Edwards <pme@gcc.gnu.org>
+
+ * gcc.c (main): Include generated configargs.h header
+ and use arguments in '-v' output.
+
Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcc.c: Move data on prefixes forward in file and reorganize.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index f24077bb462..af013489ce5 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -100,6 +100,9 @@ static char dir_separator_str[] = { DIR_SEPARATOR, 0 };
to the calling program. */
static int pass_exit_codes;
+/* Definition of string containing the arguments given to configure. */
+#include "configargs.h"
+
/* Flag saying to print the directories gcc will search through looking for
programs, libraries, etc. */
@@ -5505,6 +5508,8 @@ main (argc, argv)
{
int n;
+ notice ("Configured with: %s\n", configuration_arguments);
+
/* compiler_version is truncated at the first space when initialized
from version string, so truncate version_string at the first space
before comparing. */
OpenPOWER on IntegriCloud