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

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
Message-ID: <17B78BDF120BD411B70100500422FC6309E1CA@IIS000>
From: Bernard Dautrevaux <Dautrevaux AT microprocess DOT com>
To: "'John Melody'" <john AT sybernet DOT ie>,
"Fleischer, Karsten (K.)"
<kfleisc1 AT ford DOT com>
Cc: cygwin AT cygwin DOT com
Subject: RE: Using cygwin "make"
Date: Wed, 17 Jan 2001 14:44:01 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

> -----Original Message-----
> From: John Melody [mailto:john AT sybernet DOT ie]
> Sent: Wednesday, January 17, 2001 2:10 PM
> To: Fleischer, Karsten (K.)
> Cc: cygwin AT cygwin DOT com
> Subject: RE: Using cygwin "make"
> 
> 
> 
> Karsten, 
> 
> 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".

HTH

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux AT microprocess DOT com
		b DOT dautrevaux AT usa DOT net
-------------------------------------------- 

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