From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15171 invoked by alias); 28 Sep 2005 20:08:07 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15150 invoked by uid 22791); 28 Sep 2005 20:08:03 -0000 Received: from smtp-out2.blueyonder.co.uk (HELO smtp-out2.blueyonder.co.uk) (195.188.213.5) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 28 Sep 2005 20:08:03 +0000 Received: from [192.168.1.100] ([82.44.217.107]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Wed, 28 Sep 2005 21:08:45 +0100 Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: <433A7285.9060207@st.com> References: <6807053D-E70C-4162-9D82-0936E7E745D5@blueyonder.co.uk> <6C484B02-DD81-46A9-97FB-15EEE6F0B8DC@spfweb.co.uk> <20050927211834.GA20921@nevyn.them.org> <433A7285.9060207@st.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Steve Folly Subject: Re: Can't build gdb for mingw32 if not native? :-( Date: Wed, 28 Sep 2005 20:08:00 -0000 To: GDB List X-SW-Source: 2005-09/txt/msg00233.txt.bz2 On 28 Sep 2005, at 11:37, Andrew STUBBS wrote: > > The top level configure script may do, but as Daniel says the GDB > sources do not. I see now. I'm new to configure scripts. :-) > > Look at www.mingw.org for GDB MinGW patches (GDB 6.3-1 last time I > looked). These will get it to compile for MinGW, but, even if they > can be made to cross compile, Daniel's point about remote debugging > still stands. I can see why you wouldn't want to use Windows as a > build platform, but I suggest that, unless you have a good reason > not to, you debug the programs natively using the native MinGW GDB. > You can probably download a binary from their website along with > the rest of MinGW/MSYS. Some of our apps run full screen and having a remote machine to debug on helps quite a bit. I guess dual-screen capable PCs will help here, but our current hardware (supplied by our customer) doesn't support that. > > Alternatively, the GDB in Cygwin (www.cygwin.com) is capable of > debugging MinGW programs. Cygwin also has support for compiling > them with 'gcc -mno-cygwin'. Note that the standard Cygwin install > does not include developer tools, but the installation tool is > quite easy to use. > I think Cygwin may be the way to go - some makefiles we have running on OS X are using utilities like sed and grep, and we'd like to port them to Windows with the minimum of fuss. Thanks very much for your advice. -- Regards, Steve.