GCC 3.2.3 on Solaris 2.7
Toon Moene
toon@moene.indiv.nluug.nl
Tue Mar 23 08:51:00 GMT 2004
Eric Botcazou wrote:
> I think we can't do much better than:
>
> 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
Indeed - the fact that I'm on this mailing list saved my employer
several man-days of debugging shell scripts again this time (same thing
2 years ago).
Solaris 2.9's shell just doesn't like:
[ "$AAP" ] && ! echo "$AAP" | grep XY
(it complained about "!: not found").
I knew I had to try to change the #!/bin/sh on the first line to
#!/bin/ksh and - bingo, it worked !
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)
More information about the Gcc
mailing list