From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6065 invoked by alias); 31 Jul 2011 07:54:21 -0000 Received: (qmail 6056 invoked by uid 22791); 31 Jul 2011 07:54:20 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_SM X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 31 Jul 2011 07:54:04 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QnOlY-0007ql-2O; Sun, 31 Jul 2011 01:40:44 -0400 Date: Sun, 31 Jul 2011 07:54:00 -0000 Message-Id: From: Eli Zaretskii To: asmwarrior CC: tromey@redhat.com, gdb@sourceware.org In-reply-to: <4E34BBCE.4040700@gmail.com> (message from asmwarrior on Sun, 31 Jul 2011 10:19:58 +0800) Subject: Re: Windows build cookbook Reply-to: Eli Zaretskii References: <83zkjzempb.fsf@gnu.org> <83pqkvejfq.fsf@gnu.org> <4E34BBCE.4040700@gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00123.txt.bz2 > Date: Sun, 31 Jul 2011 10:19:58 +0800 > From: asmwarrior > CC: Eli Zaretskii , gdb@sourceware.org > > we have create some pages in > http://code.google.com/p/qp-gcc/wiki/build_gdb_msys_en (English version) > and > http://code.google.com/p/qp-gcc/wiki/build_gdb_msys_cn (Chinese version) > > Also, the cross build mingw gdb from linux: > http://code.google.com/p/qp-gcc/wiki/CrossbuildGDB > > also, the official Mingw page: > http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GDB/GDB-7.2/ > which contains an instructions to build gdb 7.2 under MSYS. > > As a conclusion, no much difficult to build mingw gdb. Thanks. I did eventually succeed in the build, but not without problems, which I believe are due to bugs in MSYS tools, in particular wrt quoted strings passed to programs. I will report those problems to the MSYS list and see what the MSYS developers tell me about that. Looking at your page, I see the following differences between your recommended setup and what I used: . You use a mingw-w64 version of MSYS, while I used the 32-bit version (as my machine is a 32-bit one). . You mounted the root directory of the MinGW installation on /mingw, while I didn't (I thought the fact that its bin/ subdirectory being on PATH will do the job). I will try to experiment with the latter difference, and see if it helps. Thanks for sharing this information.