delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/27/12:05:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 27 Feb 2002 17:04:34 +0000
From: Colm Aengus Murphy <colm DOT murphy AT s3group DOT com>
Subject: Strange behaviour of vpath with dos paths
To: cygwin AT cygwin DOT com
Message-id: <3C7D11A2.8070202@s3group.com>
MIME-version: 1.0
X-Accept-Language: en-gb
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-GB; rv:0.9.4) Gecko/20011019
Netscape6/6.2

Hi folks,

I am seeing strange behaviour when using dos paths in a gnu make vpath 
directive.
The makefile I am using to test this funny is as follows:

-------------------------------------------------------------------
vpath %.out c:/make_test/out
#vpath %.out /cygdrive/c/make_test/out

#VPATH = c:/make_test/out
#VPATH = /cygdrive/c/make_test/out

test.out : \
   test.input\
   ; echo test.input > out/test.out
-------------------------------------------------------------------
  
What I find is that vpath doesn't work when given a dos path.
VPATH on the other hand does.

For out application we need to use a dos path.
The work around is for us to use VPATH but it seems a bit funny that 
vpath and VPATH behave differently under given dos paths.

Has anyone any ideas about this ?

Cheers

Colm A

P.S. I am using gnu make 3.79.1-4 and 1.3.5-2 of the cygwin dll.

-- 
--------------------------------------------------------------------- 
 Colm Aengus Murphy,                Tel       : +353 1 2911000
 Senior Hardware Design Engineer,   Direct Tel: +353 1 2911373
 Silicon & Software Systems,        Fax       : +353 1 2911001
 South County Business Park,        
 Leopardstown,                      E-mail: colm DOT murphy AT s3group DOT com
 Dublin 18.                         WWW   : www.s3group.com
 Ireland                                   
---------------------------------------------------------------------



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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