From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12052 invoked by alias); 29 Aug 2003 15:35:33 -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 12034 invoked from network); 29 Aug 2003 15:35:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 29 Aug 2003 15:35:32 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 19slHf-0000va-Oi; Fri, 29 Aug 2003 11:35:31 -0400 Date: Fri, 29 Aug 2003 15:35:00 -0000 From: Daniel Jacobowitz To: Chris.Pedley@arm.com Cc: gdb@sources.redhat.com Subject: Re: Cross Compiling the GDB 6.0 branch Message-ID: <20030829153531.GA30429@nevyn.them.org> Mail-Followup-To: Chris.Pedley@arm.com, gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-08/txt/msg00327.txt.bz2 On Fri, Aug 29, 2003 at 04:33:09PM +0100, Chris.Pedley@arm.com wrote: > > Hi, > > I checked out the gdb_6_0-branch earlier today and am having some trouble > cross compiling this for ARM Linux (its all building fine to use locally on > my Intel box). Just to clarify - I'm trying to build a gdb to be run on an > ARM Linux machine, debugging ARM applications but built on an Intel box > (host=arm-linux, target=arm-linux, build=i686-linux). > > When configuring readline the following error is reported: > checking for mbstate_t... configure: error: cannot run test program while > cross compiling > > Unlike errors about cross compiling when configuring readline whilst > building gdb 5.3, this error does stop the build. I've tried hunting > around for a --disable-testing / --without-test configuration option but > can't find anything obvious. > > Any ideas? I think I mentioned this in response to an earlier message? You need to simply pre-seed that test: export bash_cv_have_mbstate_t=yes. This is a bug in readline's configure script that I need to get around to fixing. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer