This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++] libstdc++/7691, pass -Wabi, sanity checks
On Wed, Aug 28, 2002 at 11:09:20PM -0400, Andrew Pinski wrote:
> On Wednesday, Aug 28, 2002, at 23:05 US/Eastern, Daniel Jacobowitz
> wrote:
> > On Wed, Aug 28, 2002 at 10:54:11PM -0400, Andrew Pinski wrote:
> >> On Wednesday, Aug 28, 2002, at 22:14 US/Eastern, Phil Edwards wrote:
> >>
> >>> +enable_cxx_flags=`IFS=:; X="$enable_cxx_flags"; echo $X`
> >>
> >> This is does not work on zsh :( but it works under bash and pdksh (and
> >> sh on Solaris and on HPUX) though.
> >
> > Anyone trying to use ZSH to run shell scripts should be prepared for a
> > lot of nasty surprises; it's distinctly POSIX-incompatible.
>
> I know but Darwin before 6.0 (Mac OS X 10.2) used zsh as /bin/sh,
> so it might be a problem on that platform.
> This is the only platform that I know of that uses zsh as /bin/sh.
> There might be a warning in the install part of the web page detailing
> this.
So, just to check:
If a user is building on pre-Darwin 6.0 / OS X 10.2, and if they use
--enable-cxx-flags, then they should do what we've been recommending for
Solaris users already:
CONFIG_SHELL=/path/to/bash ..../configure --enable-blabblahblah
Right?
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002