This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Strange behaviour of vpath with dos paths


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.murphy@s3group.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]