From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12317 invoked by alias); 27 Sep 2005 22:26:30 -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 11906 invoked by uid 22791); 27 Sep 2005 22:26:15 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 27 Sep 2005 22:26:15 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EKNtt-00063w-QF; Tue, 27 Sep 2005 18:26:13 -0400 Date: Tue, 27 Sep 2005 22:26:00 -0000 From: Daniel Jacobowitz To: Steve Folly Cc: GDB List Subject: Re: Can't build gdb for mingw32 if not native? :-( Message-ID: <20050927222613.GA23213@nevyn.them.org> Mail-Followup-To: Steve Folly , GDB List References: <6807053D-E70C-4162-9D82-0936E7E745D5@blueyonder.co.uk> <6C484B02-DD81-46A9-97FB-15EEE6F0B8DC@spfweb.co.uk> <20050927211834.GA20921@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00226.txt.bz2 On Tue, Sep 27, 2005 at 10:53:53PM +0100, Steve Folly wrote: > >On Tue, Sep 27, 2005 at 10:12:40PM +0100, Steve Folly wrote: > > > >>Hi, > >> > >>I'm trying to build gdb 6.3 on host powerpc-apple-darwin8.2.0 for > >>target i386-pc-mingw32msvc. > >> > > > >GDB 6.3 doesn't support the mingw32 target. In fact it doesn't > >support > >mingw32 as a host either. Later versions will support it as a host > >but > >not target. > > The configure script in the gdb-6.3.tar.gz I downloaded seems to? No, it has some mingw bits scattered all over, but GDB definitely does not have support for this target. > >This line does not appear in the GDB I'm looking at. You must be > >using > >someone's mingw32 patches. > > Its in http://ftp.gnu.org/gnu/gdb/gdb-6.3.tar.gz - configure - line > 1360. I thought this would have been the 'official' unpatched version? > > I am confused now - which 6.3 are you looking at that *doesn't* > support mingw32?! You're looking at the top level configure script. I was looking at the GDB subdirectory's. So for that part of my comment I apologize; it was wrong. > >>I'm trying to get a GNU toolset hosted on OS X and targetting Windows > >>(MinGW). So far, the compiler toolset is working dandy, and having > >>gdb would top it off just right. > >> > > > >Note, even if this worked, you'd need a remote debug agent for > >Windows. > >There isn't one finished yet (though I have an unfinished one lying > >around somewhere if I can ever find the time). > > > > Where can I find out more information about writing a remote debug > agent for Windows? Nowhere in particular, but try the list archives for what is involved. -- Daniel Jacobowitz CodeSourcery, LLC