Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 18 Jan 2003 11:46:37 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Cc: cls AT seawood DOT org Subject: Re: VPATH broken with multiple dirs Message-ID: <20030118164637.GA4321@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, cls AT seawood DOT org References: <3E29264F DOT 6050005 AT seawood DOT org> <3E29300A DOT 10005 AT seawood DOT org> <1042899401 DOT 22136 DOT 6 DOT camel AT milo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1042899401.22136.6.camel@milo> User-Agent: Mutt/1.5.1i On Sat, Jan 18, 2003 at 09:16:42AM -0500, David Means wrote: >An interesting problem. I'm not sure there's a programatic way to solve >it. While spaces are allowed in unix paths, VPATH obviously doesn't >account for this behaviour and assumes spaces are delimiters.. However, >MSDOS/Windows VPATH requires semicolons. I would assume that it does >not allow spaces as a delimiter since they're frequently found in paths >and hence, would break the parse. > >"In the VPATH variable, directory names are separated by colons or >blanks. The order in which directories are listed is the order followed >by make in its search. (On MS-DOS and MS-Windows, semi-colons are used >as separators of directory names in VPATH, since the colon can be used >in the pathname itself, after the drive letter.)" > >http://www.delorie.com/gnu/docs/make/make_27.html This is cygwin make, not djgpp make. Cygwin make uses colons, not semicolons. If semicolons actually *work*, that's a bug. >Good Hunting! > >David > > >On Sat, 2003-01-18 at 05:44, Christopher Seawood wrote: > >> Christopher Seawood wrote: >> >> > Before: VPATH = c:/root/rmch/mozilla/js/src/xpconnect >> > c:/root/rmch/mozilla/js/src/xpconnect/idl >> > >> > After: VPATH = /cygdrive/c/root/rmch/mozilla/js/src/xpconnect >> > c:/root/rmch/mozilla/js/src/xpconnect/idl >> > >> > This implies that the cygwin_win32_to_posix_path_list() function doesn't >> > support converting multiple paths. I haven't grabbed the cygwin dll >> > sources yet. Does anyone know authoritatively if that's the case? >> >> After playing around for a bit, I discovered that if I used ; to >> separate the dirs instead of a space, then the conversion function >> worked fine for all dirs and the other source files were found. This, >> of course, breaks the unix builds but I can deal with that. >> >> - cls >> >> >> -- >> 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/ -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to aaaspam AT sourceware DOT org and be permanently blocked from mailing lists at sources.redhat.com -- 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/