Eric Blake wrote:
> it could even allow a configure-time option for
> mingw to pick a POSIX shell (particularly when targetting an MSYS build,
> where such a shell is known to exist), rather than being hard-coded to the
> current 'cmd /c' provided by system().  But it might also introduce
> difficulties - the current mingw build is portable to different machines
> with different directory layouts, but encoding the location of the desired
> syscmd shell may make the binary locked into a specific installation
> location for syscmd to work.

You don't need to hardcode the filename of the shell. You can, for example,
use "sh.exe" on mingw (while still continuing to hardcode the absolute filename
$CONFIG_SHELL on Unix platforms).

Bruno



Reply via email to