delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/17/08:48:35

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
X-Server-Uuid: c41a640a-a9e9-11d4-8124-00508bd3f8dc
Message-ID: <200101171341.f0HDf5k12210@dymwsm12.mailwatch.com>
From: "Fleischer, Karsten (K.)" <kfleisc1 AT ford DOT com>
To: "'John Melody'" <john AT sybernet DOT ie>
cc: cygwin AT cygwin DOT com
Subject: RE: Using cygwin "make"
Date: Wed, 17 Jan 2001 08:40:59 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2651.58)
X-WSS-ID: 167B7F7A8035-01-01

John,

you should use cygwin path syntax rather than windows syntax, i.e.
/cygwin/d/classes instead of D:\classes (see cygwin documentation/FAQ)

You can use windows pathes, but you have to remember to quote the
backslashes: replace the single backslashes with double backslashes.
This is a shell issue. Try  'man bash', see chapter 'Quoting'.

Karsten


> -----Original Message-----
> From: John Melody [mailto:john AT sybernet DOT ie]
> Sent: Mittwoch, 17. Januar 2001 13:10
> 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. 
> 
> Regards, 
> John. 
> 
> -----Original Message-----
> From: Fleischer, Karsten (K.) [mailto:kfleisc1 AT ford DOT com]
> Sent: 17 January 2001 12:40
> To: 'John Melody'; cygwin AT cygwin DOT com
> Subject: RE: Using cygwin "make"
> 
> 
> Hi John,
> 
> > I notice that the cd command does not work within the make 
> > file. I have
> > tried d:\classes, and d:/classes but to no avail.
> 
> Every single command line of the rule will be executed in its 
> own shell
> process, thus you end up in the original current dir in the second
> statement.
> 
> You can put the commands on a single line, seperated by a semicolon:
> 
> 	cd $(CLASSES); jar -cvf $(DISTRIBUTION_DIR)\lib\classes.jar squ/
> 
> Or you can use line continuation:
> 
> 	cd $(CLASSES);                                    \
> 	jar -cvf $(DISTRIBUTION_DIR)\lib\classes.jar squ/
> 
> 
> Karsten
> 


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