From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31901 invoked by alias); 14 Jan 2012 22:32:58 -0000 Received: (qmail 31878 invoked by uid 22791); 14 Jan 2012 22:32:55 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT,TW_YG X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.155) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Jan 2012 22:32:40 +0000 Received: from md2.u-strasbg.fr (md2.u-strasbg.fr [IPv6:2001:660:2402::187]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id q0EMWCsG019074 ; Sat, 14 Jan 2012 23:32:12 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms5.u-strasbg.fr [130.79.204.14]) by md2.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id q0EMWB67012540 ; Sat, 14 Jan 2012 23:32:12 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id q0EMW8Re023484 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Sat, 14 Jan 2012 23:32:09 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Eli Zaretskii'" , "'asmwarrior'" Cc: , , References: <83hb03e9sx.fsf@gnu.org> <838vlfe0k9.fsf@gnu.org> <4F0CD948.8080909@gmail.com> <4F0E266C.8080208@gmail.com> <20120112064721.GN31383@adacore.com> <20120112115355.GO31383@adacore.com> <838vlclv4r.fsf@gnu.org> <4F103C20.8070204@gmail.com> <83ipkfk3hg.fsf@gnu.org> <4F117B33.8080906@gmail.com> <834nvyjsqj.fsf@gnu.org> In-Reply-To: <834nvyjsqj.fsf@gnu.org> Subject: RE: Building GDB 7.3.92 with MinGW Date: Sun, 15 Jan 2012 03:33:00 -0000 Message-ID: <000001ccd30c$5ce854e0$16b8fea0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: 2012-01/txt/msg00517.txt.bz2 After some debugging, I believe that the main problem is related to the fact that we use msys environment (which has msys specific mounts) to compile a mingw32 GDB executable that knows nothing about those msys mount points! config.h get several entries with directories. All but WITH_PYTHON_PATH (which is mingw32 compatible) are msys paths: DEBUGDIR, GDB_DATADIR and JIT_READER_DIR but those msys pathes are not interpreted correctly by a mingw32 executable (i.e. gdb.exe itself). I do believe that this is an error in the mingw32 configuration and that it should be fixed in those configuration files... As an example I tried to use --prefix=/e/pas/fpc-2.6.0 msys /e/ corresponds to e:/ in mingw32, but (gdb) py print gdb.PYTHONDIR e:\e\pas\fpc-2.6.0\share\gdb/python Of course, this path doesn't even exist on my computer! If I do substitute /e/ by e:/ inside config.h and at least get an existing path as output of (gdb) py print gdb.PYTHONDIR The bad part is that msys doesn't have a equivalent of cygpath utitlity, so that I proposed a solution above, but I have no idea about how to really implement that solution... Pierre Muller