bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change in SHELL behavior: feature, right ?


From: Philip Guenther
Subject: Re: change in SHELL behavior: feature, right ?
Date: Wed, 19 Apr 2006 00:09:50 -0600

On 4/18/06, Mike Frysinger <address@hidden> wrote:
> with the new handling of SHELL, gcc fails to build under non posix compatible
> shells (like tcsh) or if the env SHELL is set to a non-existant shell (think
> zsh on the host system and chrooting into a local filesystem and using
> bash ... bash by design doesnt reset the SHELL=/bin/zsh value)
...
> so the question is, should gcc be making sure that the shell scripts that use
> SHELL pull the value from configure ?  or is make broken ?

Since the change is described in the GNU make NEWS file as being for
POSIX compatibility, it would seem that a build system that assumes
that 'make' exports its SHELL variable to the environment of invoked
processes is broken by the POSIX rules.  Changing the scripts to have
their SHELL value set by configure would seem to be the most robust
solution.

Philip Guenther




reply via email to

[Prev in Thread] Current Thread [Next in Thread]