www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/05/05/07:51:06

Date: Sun, 5 May 1996 14:49:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Douglas Rupp <drupp AT cs DOT washington DOT edu>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Make bug
In-Reply-To: <199605050757.AAA15653@june.cs.washington.edu>
Message-Id: <Pine.SUN.3.91.960505144217.11941T-100000@is>
Mime-Version: 1.0

On Sun, 5 May 1996, Douglas Rupp wrote:

> 	cd bar
> 	make "CFLAGS=-g" ../foo
> 
> And you invoke "make foo", the second call to "make" simply returns w/o
> doing anything.  However:

The current port of GNU Make invokes COMMAND.COM when it sees double 
quotes on the command line.  Change double quotes to single quotes and it 
will work:

	cd bar
	make 'CFLAGS=-g -O2' ../foo

I think the proper way to fix this for double quotes is to teach the
library function `system' to treat quoting properly, then change Make so
it always calls `system'.  I extended `system' to do this and it should be
in the next release of DJGPP library.  I'm now ready to begin porting Make
using the above idea.  I hope I'm right and it will work. 

- Raw text -


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