From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24785 invoked by alias); 7 Jan 2008 03:40:55 -0000 Received: (qmail 24766 invoked by uid 22791); 7 Jan 2008 03:40:54 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jan 2008 03:40:35 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 2F32D982E2; Mon, 7 Jan 2008 03:40:33 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D3FD0982D9; Mon, 7 Jan 2008 03:40:32 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JBiql-0007TL-BZ; Sun, 06 Jan 2008 22:40:31 -0500 Date: Mon, 07 Jan 2008 03:40:00 -0000 From: Daniel Jacobowitz To: Doug Evans Cc: Eli Zaretskii , gdb-patches@sources.redhat.com, ARistovski@qnx.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com Subject: Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles Message-ID: <20080107034031.GA28431@caradoc.them.org> Mail-Followup-To: Doug Evans , Eli Zaretskii , gdb-patches@sources.redhat.com, ARistovski@qnx.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com References: <2F6320727174C448A52CEB63D85D11F40A58@nova.ott.qnx.com> <20080106054030.GA10410@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00104.txt.bz2 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). -- Daniel Jacobowitz CodeSourcery