------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-06 05:00 ------- Did you set CONFIG_SHELL to be /bin/ksh as directed on the installation directions? http://gcc.gnu.org/install/specific.html#x-x-solaris2
The Solaris 2 /bin/sh will often fail to configure libstdc++-v3, boehm-gc or libjava. We therefore recommend to use the following sequence of commands to bootstrap and install GCC: % CONFIG_SHELL=/bin/ksh % export CONFIG_SHELL /bin/sh on Solaris is known not to be a POSIX shell which is why the documention mentions CONFIG_SHELL. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26574