From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23421 invoked by alias); 27 Jul 2011 18:06:12 -0000 Received: (qmail 23410 invoked by uid 22791); 27 Jul 2011 18:06:11 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Jul 2011 18:05:53 +0000 Received: by qyk4 with SMTP id 4so1375747qyk.0 for ; Wed, 27 Jul 2011 11:05:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.51.204 with SMTP id e12mr85486qcg.178.1311789953234; Wed, 27 Jul 2011 11:05:53 -0700 (PDT) Received: by 10.229.99.137 with HTTP; Wed, 27 Jul 2011 11:05:53 -0700 (PDT) In-Reply-To: <20110727163712.GQ1988@adacore.com> References: <83zkjzempb.fsf@gnu.org> <20110727160648.GP1988@adacore.com> <83tya7elkc.fsf@gnu.org> <20110727163712.GQ1988@adacore.com> Date: Wed, 27 Jul 2011 18:06:00 -0000 Message-ID: Subject: Re: Windows build cookbook From: Kai Tietz To: Eli Zaretskii Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00106.txt.bz2 2011/7/27 Joel Brobecker : >> clear enough. =A0I meant the support packages that GDB needs to be >> linked against: the Python libraries, termcap/curses, libexpat, >> readline, libiconv, etc. =A0Which of them do you use? =A0Or do you build >> them as well by yourself? > > =A0- Python: I use the official binaries provided by python.org > =A0- termcap/curses: Not needed > =A0- libexpat: I build it (same as GDB) > =A0- readline: Not needed (included in GDB sources) > =A0- libiconv: I place the sources in the GDB tree, and it gets > =A0 =A0 =A0 =A0 =A0 =A0 =A0automatically built. =A0But you could also reb= uild it > =A0 =A0 =A0 =A0 =A0 =A0 =A0yourself. > > I think that, apart from Python, it's fairly easy to rebuild your > dependencies yourself, so that's what we do. However, I do not know > if the MinGW project provides pre-compiled versions of those packages > or not. > > -- > Joel Well, build of Windows is mostly OOTB. Most important point is the libexpat, as without it DLL debugging isn't possible. The rest is more an issue of pre-installing proper packages. There is not much magic about building GDB for Windows. Yes, both mingw.org and mingw-w64 ventures are providing pre-build version of gdb for users. AFAIR we (mingw-w64) provide even a version with Python support. Kai