From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28601 invoked by alias); 11 May 2005 07:17:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28591 invoked from network); 11 May 2005 07:17:17 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 11 May 2005 07:17:17 -0000 Received: from zaretski (IGLD-83-130-254-105.inter.net.il [83.130.254.105]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id EIS58649 (AUTH halo1); Wed, 11 May 2005 10:17:15 +0300 (IDT) Date: Wed, 11 May 2005 07:21:00 -0000 From: "Eli Zaretskii" To: gdb-patches@sources.redhat.com Message-ID: <01c555f9$Blat.v2.4$330af160@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: mark@codesourcery.com In-reply-to: <20050510214218.GA8776@trixie.casa.cgf.cx> (message from Christopher Faylor on Tue, 10 May 2005 17:42:18 -0400) Subject: MinGW build instructions (was: PATCH: Use getche on Win32) Reply-to: Eli Zaretskii References: <200505092015.j49KFoPw028903@sethra.codesourcery.com> <01c55512$Blat.v2.4$85bf3480@zahav.net.il> <42804E09.9060508@codesourcery.com> <01c55598$Blat.v2.4$baecd3c0@zahav.net.il> <428113E4.9090807@codesourcery.com> <01c5559e$Blat.v2.4$1b76ee60@zahav.net.il> <20050510203127.GA10559@nevyn.them.org> <20050510213821.GA8600@trixie.casa.cgf.cx> <20050510214218.GA8776@trixie.casa.cgf.cx> X-SW-Source: 2005-05/txt/msg00240.txt.bz2 As an aside, what little experience I have in porting Unix programs to MinGW tells me that setting up an environment to build a package is not a trivial job. There are issues with what shell to use and how to set it up, what ports of auxiliary tools (Coreutils, Grep, Awk, etc.) to use and how to set them up, what non-default libraries to install and link against (the MinGW libraries such as libiberty, Libgw32c), etc. So perhaps, if we are going to have an alive MinGW port, it is a good idea to have a README.MinGW file in the distro that would describe how to build such a port of GDB. A description of the setup Mark uses to work on the port would be a good starting point. You can use the file gdb/config/djgpp/README as an example of solving a similar problem, although the nature of the details is different, of course. TIA