aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2000-10-05 22:55:19 +0000
committerRichard Henderson <rth@gcc.gnu.org>2000-10-05 15:55:19 -0700
commitf5fa9a5bd08d383e14f920c38f69d15f456e1aeb (patch)
tree8dd4b247d2357803a65553c78f9a78399de88075 /gcc/gcc.c
parentcfa82f4d034b0905dbdbe321d606a374065c6d43 (diff)
downloadgcc-f5fa9a5bd08d383e14f920c38f69d15f456e1aeb.zip
gcc-f5fa9a5bd08d383e14f920c38f69d15f456e1aeb.tar.gz
gcc-f5fa9a5bd08d383e14f920c38f69d15f456e1aeb.tar.bz2
configure: Save configure arguments to gcc/configargs.h.
* configure: Save configure arguments to gcc/configargs.h. * gcc.c (main): Include generated configargs.h header and use arguments in '-v' output. From-SVN: r36734
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index f24077b..af01348 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. */