Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'John Melody'" , "Fleischer, Karsten (K.)" 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) Content-Type: text/plain; charset="iso-8859-1" > -----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