www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/18/06:39:47

Date: Thu, 18 Jun 1998 13:38:57 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hartmut Schirmer <hsc AT techfak DOT uni-kiel DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: Problem compiling GRX 2.3
In-Reply-To: <3588B56D.9E03AF6F@techfak.uni-kiel.de>
Message-ID: <Pine.SUN.3.91.980618133452.24427H-100000@is>
MIME-Version: 1.0

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.)

- Raw text -


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