------- Comment #2 from =?ISO-8859-1?Q?Andr=E9_Schneider?= <Andre dot Schneider at eas dot iis dot fraunhofer dot de> 2007-05-22 22:47 ------- Subject: Re: unknown option -e for test command in gen-classlist.sh
pinskia at gcc dot gnu dot org wrote: > ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-22 18:36 > ------- > You did not follow the instructions on installation > (http://gcc.gnu.org/install/): Sorry, but I have installed all GCC versions since 1993 without any problems for SunOS, Solaris, Linux, and Windows. Why is the -e option for test command SO IMPORTANT that you break with a long and stable tradition? > > The Solaris 2 /bin/sh will often fail to configure libstdc++-v3, boehm-gc or > libjava. We therefore recommend using the following initial sequence of > commands > > % CONFIG_SHELL=/bin/ksh > % export CONFIG_SHELL > and proceed as described in the configure instructions. In addition we > strongly > recommend specifying an absolute path to invoke srcdir/configure. > > > test -e is part of POSIX already, just solaris's /bin/sh's builtin for test > does not support it (read the man page for test further information). > Most of the install scripts are so trivial that there is no need for "special" or tricky options or scripts. I guess the next GCC version will add new hints and readme's ... A nightmare for administrators. A better solution would be: keep it as simple as possible. "small is beautiful". Nevertheless, thanks a lot for new GCC version with OpenMP support!!! /André -- Fraunhofer Institute for Integrated Circuits Design Automation Division Dresden, Germany -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32045