delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/17/09:26:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 17 Jan 2001 09:23:18 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Using cygwin "make"
Message-ID: <20010117092318.A12235@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <17B78BDF120BD411B70100500422FC6309E1CA AT IIS000>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <17B78BDF120BD411B70100500422FC6309E1CA@IIS000>; from Dautrevaux@microprocess.com on Wed, Jan 17, 2001 at 02:44:01PM +0100

On Wed, Jan 17, 2001 at 02:44:01PM +0100, Bernard Dautrevaux wrote:
>> I have tried both and neither works. 
>> 
>> It never seems to execute the cd correctly.
>> 
>> With the following definitions 
>> CLASSES=D:\classes 
>> 
>> The command
>>  
>> D:\work>make --win32 -f d:\work\squash02\Makefile jar 
>> gives me the following output 
>> cd D:\classes ; jar -cvf 
>> d:\cm-build\checkmate-0.7.0\lib\classes.jar squ/
>> The filename,directory name or volume label syntax is incorrect 
>> make ***[jar] Error 1 
>> D:\work>
>> 
>> All the directories do exist but I just can't see what is wrong. 
>> Any help would be greatly appreciated. 
>
>
>Don't forget that make is using "sh" to execute the command, so the '\' is
>eaten by the shell. You sould use "CLASSES=D:\\classes",
>"CLASSES=D:/classes" or even better (as the colon may fool up make if
>$(CLASSES) is used somewhere in a dependency list)
>"CLASSES=/cygdrive/D/classes".

Remeber, he's using "make --win32", so /bin/sh doesn't enter into this.

If I try an equivalent makefile using "ls" instead of "jar", "ls" shows
the files in the directory that has been cd'ed to, so it seems like
make is working ok, so I can't explain this behavior.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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