From: mdruiter AT cs DOT vu DOT nl (Ruiter de M) Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem compiling GRX 2.3 Date: 19 Jun 1998 13:17:18 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 25 Message-ID: <6mdocu$r4i$1@star.cs.vu.nl> References: NNTP-Posting-Host: sloep10.cs.vu.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote: > On Thu, 18 Jun 1998, Hartmut Schirmer wrote: > > Bill Bartley wrote: > > > if exist draw\*.o del draw\*.o > > > make.exe[2]: *** [clean] Error -1 > > Looks like you don't compile under plain vanilla command.com ... > One case why this could happen is if Bill has SHELL variable defined > in the environment which points to Bash or some such. > > Makefile's which want to be robust in such cases should either set > SHELL=command.com or call command.com explicitly, like this: > > command.com /c if exist draw\*.o del draw\*.o > > (Note: "command.com" and not "command", since Bash has an > incompatible built-in command by the latter name.) And don't set the MAKESHELL-variable to d:/path/bash.exe either! -- Groeten, Michel. http://www.cs.vu.nl/~mdruiter ____________ \ /====\ / "You know, Beavis, you need things that suck, \/ \/ to have things that are cool", Butt-Head.