delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/19/10:30:45

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: <Pine DOT SUN DOT 3 DOT 91 DOT 980618133452 DOT 24427H-100000 AT is>
NNTP-Posting-Host: sloep10.cs.vu.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019