From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11627 invoked by alias); 19 Aug 2003 20:56:05 -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 11611 invoked from network); 19 Aug 2003 20:56:04 -0000 Received: from unknown (HELO redhat.com) (66.187.230.200) by sources.redhat.com with SMTP; 19 Aug 2003 20:56:04 -0000 Received: by redhat.com (Postfix, from userid 201) id 0091332A822; Tue, 19 Aug 2003 16:56:03 -0400 (EDT) Date: Tue, 19 Aug 2003 20:56:00 -0000 From: Christopher Faylor To: gdb@sources.redhat.com Subject: Re: Cross Compiling GDB Message-ID: <20030819205603.GA22244@redhat.com> Mail-Followup-To: gdb@sources.redhat.com References: <20030819174304.GA22248@nevyn.them.org> <20030819180037.GA19012@redhat.com> <20030819183105.GB23271@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030819183105.GB23271@nevyn.them.org> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-08/txt/msg00229.txt.bz2 On Tue, Aug 19, 2003 at 02:31:05PM -0400, Daniel Jacobowitz wrote: >On Tue, Aug 19, 2003 at 02:00:37PM -0400, Christopher Faylor wrote: >> On Tue, Aug 19, 2003 at 01:43:05PM -0400, Daniel Jacobowitz wrote: >> >On Tue, Aug 19, 2003 at 06:40:12PM +0100, Chris.Pedley@arm.com wrote: >> >>Is it actually possible to cross compile GDB for anything other than >> >>cygwin. In the output from ./configure when trying to configure for >> >>cross compiling using the GNU ARM tools I get the message: configure: >> >>cross-compiling for a non-cygwin target is not supported >> >> >> >>Also, can anyone confirm to me what the exact definitions of host, >> >>target and build are when passed to ./configure? >> >> >> >>Thanks. >> > >> >It sounds like you're using the Cygwin sources for GDB. If you're not >> >building a Cygwin-targeted GDB, don't do that - or direct comments to >> >the cygwin list. >> >> "Cygwin sources for gdb"? The sources for cygwin's gdb are the same as >> for any other platform. > >If so I apologize, but I swear I've heard of local patches from the >cygwin people before. Maybe I was thinking of another tool? Oops. You're right. There is a local patch to symtab.c that I'd forgotten about. It was submitted by Jim Blandy but (apparently) never applied. I guess it's time to research this. In any event, your advice is still valid. There's no reason to use the cygwin sources of gdb if you're trying to build a gdb for another platform. >In any case, that error message doesn't come from the FSF sources >anywhere. It seems like the error is coming from readline/configure. cgf