Date: Tue, 18 Mar 2003 16:32:53 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: rich AT phekda DOT freeserve DOT co DOT uk Message-Id: <8011-Tue18Mar2003163253+0200-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <3E770274.4FCA8362@phekda.freeserve.co.uk> (message from Richard Dawe on Tue, 18 Mar 2003 11:26:44 +0000) Subject: Re: elefunt results References: <200303181043 DOT LAA03752 AT lws256 DOT lu DOT erisoft DOT se> <3E770274 DOT 4FCA8362 AT phekda DOT freeserve DOT co DOT uk> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Tue, 18 Mar 2003 11:26:44 +0000 > From: Richard Dawe > > > > 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.