Mail Archives: djgpp-workers/2003/03/18/09:38:30
> Date: Tue, 18 Mar 2003 11:26:44 +0000
> From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> >
> > If yes, there's something else different in my environment. Perhaps
> > SHELL=e:/djgpp/bin/-bash.exe (unsure about the "-")?
>
> My shell is set to COMMAND.COM. I don't set SHELL in the environment. It has
> its default setting.
That's the difference, I think: unlike the Unix version, the DJGPP
port odf GNU Make _does_ use SHELL from the environment outside Make.
That's because SHELL is normally not set on a typical DOS/Windows
machine, and if a user sets it, she probably has her system set up
specifically for that shell.
So on Martin's machine, Make runs Bash to execute shell commands,
while on Richard's machine it runs COMMAND.COM. That's why Richard
doesn't need the change to PATH.
> > Perhaps another correction would be adding "SHELL=/bin/sh" too? (IIRC,
> > this would force make to run bash, right?)
>
> No, it does not run bash. SHELL=/bin/sh forces make to emulate certain Unixy
> features.
It does, but it also forces Make to run sh.exe anywhere on PATH to
execute shell commands in rules.
> But yes, this is a reasonable correction:
>
> SHELL=/bin/sh make all
>
> works for me.
I don't recommend this: users should not be required to have Bash
installed to build the library or run the test suite.
- Raw text -