PATCH for Re: Bootstrap error with gcc-20020429 snapshot on Sun / Solaris8

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Fri May 3 04:52:00 GMT 2002


On Wed, 1 May 2002, Joe Buck wrote:
>> Too late.  Do
>>
>>   CONFIG_SHELL=/bin/ksh ksh ../src/configure [...]
> The installation instructions should be modified if this is required.

"When in doubt, to the safe thing."

How about the following patch?

Gerald


2002-05-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

	* doc/install.texi (Specific, *-*-solaris2*): Update passus on
	setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
	(possibly) work around broken /bin/sh.

Index: doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.92.2.21
diff -u -3 -p -r1.92.2.21 install.texi
--- doc/install.texi	2 May 2002 23:29:52 -0000	1.92.2.21
+++ doc/install.texi	3 May 2002 11:50:01 -0000
@@ -3470,9 +3470,7 @@ GCC you first have to install a pre-buil
 The Solaris 2 @command{/bin/sh} will often fail to configure
 @file{libstdc++-v3}, @file{boehm-gc} or
 @file{libjava}.  If you encounter this problem, set @env{CONFIG_SHELL} to
-@command{/bin/ksh} in your environment and run @command{make bootstrap} again.
-Another possibility that sometimes helps is to remove
-@file{*-*-solaris2*/config.cache}.
+@command{/bin/ksh} in your environment before running @command{configure}.

 Solaris 2 comes with a number of optional OS packages.  Some of these
 packages are needed to use GCC fully, namely @code{SUNWarc},



More information about the Gcc-patches mailing list