delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/18/05:03:41

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3E29264F.6050005@seawood.org>
Date: Sat, 18 Jan 2003 02:02:55 -0800
From: Christopher Seawood <cls AT seawood DOT org>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3b) Gecko/20030114
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: Christopher Seawood <cls AT seawood DOT org>
Subject: VPATH broken with multiple dirs

I'm attempting to modify the Mozilla build system so that it heavily
relies upon using multiple dirs in the VPATH and I ran into a problem.
If I list multiple directories in the VPATH, only source files that are
in the first directory are found.   I added a couple of printfs to the
cygwin make source and I discovered that when the win32 path list is
converted to a posix path list on line 108 of vpath.c, only the first
directory is converted.

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?

I searched the mailing list archive and came across this message back
from 1998 which has no apparent resolution.
http://sources.redhat.com/ml/cygwin/1998-02/msg00894.html

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

- Raw text -


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