From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10300 invoked by alias); 7 Jan 2008 04:21:30 -0000 Received: (qmail 10285 invoked by uid 22791); 7 Jan 2008 04:21:29 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jan 2008 04:21:10 +0000 Received: from HOME-C4E4A596F7 ([81.5.33.65]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EOO86198 (AUTH halo1); Mon, 7 Jan 2008 06:20:35 +0200 (IST) Date: Mon, 07 Jan 2008 04:21:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: dje@google.com, gdb-patches@sources.redhat.com, ARistovski@qnx.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com In-reply-to: <20080107034031.GA28431@caradoc.them.org> (message from Daniel Jacobowitz on Sun, 6 Jan 2008 22:40:31 -0500) Subject: Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles Reply-to: Eli Zaretskii References: <2F6320727174C448A52CEB63D85D11F40A58@nova.ott.qnx.com> <20080106054030.GA10410@caradoc.them.org> <20080107034031.GA28431@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00106.txt.bz2 > Date: Sun, 6 Jan 2008 22:40:31 -0500 > From: Daniel Jacobowitz > Cc: Eli Zaretskii , gdb-patches@sources.redhat.com, > ARistovski@qnx.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com > > On Sun, Jan 06, 2008 at 01:07:25PM -0800, Doug Evans wrote: > > Another thing that occurs to me is that I vaguely remember building > > libraries in one environment and then using the library in another. I > > could be mistaken, it's been awhile. Can one have a case where both > > path formats are in use simultaneously? > > Yes, that's what I was going to add. This is how I normally work. > We build toolchains using a GNU/Linux host, including libraries. When > our customers run the IDE on Windows, they get mixed debug > information; some has Windows paths, some has POSIX paths. I think > that a best-effort approach to work with both is more valuable than > handling the few corner cases where that breaks down (e.g. paths > containing a '\' or ':' on a POSIX system). We must have a way for a user on a Posix system to have file names with `\' or `:'. It is IMO unacceptable to say that these cases, however corner, are simply not supported. Other packages, such as Bash, do give you a way of having them, albeit an inconvenient way.