From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24140 invoked by alias); 28 Oct 2003 06:32:14 -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 24037 invoked from network); 28 Oct 2003 06:32:13 -0000 Received: from unknown (HELO apollo.nbase.co.il) (194.90.137.2) by sources.redhat.com with SMTP; 28 Oct 2003 06:32:13 -0000 Received: from gleb.nbase.co.il ([194.90.136.56]) by apollo.nbase.co.il (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-44418U200L2S100) with ESMTP id AAA1108; Tue, 28 Oct 2003 08:32:02 +0200 Received: by gleb.nbase.co.il (Postfix, from userid 1000) id 7918FE023; Tue, 28 Oct 2003 08:32:09 +0200 (IST) Date: Tue, 28 Oct 2003 06:32:00 -0000 To: "Wolcott, Ken (MED, Compuware)" Cc: crossgcc@sources.redhat.com, gdb mailing list , gcc mailing list Subject: Re: unable to compile gdb 6.0 as a cross gdb; error: cannot run test program while cross compiling Message-ID: <20031028063209.GN2280@nbase.co.il> References: <200310271747.52297.ken.wolcott@med.ge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310271747.52297.ken.wolcott@med.ge.com> From: gleb@nbase.co.il (Gleb Natapov) X-SW-Source: 2003-10/txt/msg00305.txt.bz2 Hello, Try to do "export bash_cv_have_mbstate_t=yes" before running configure. On Mon, Oct 27, 2003 at 05:47:52PM -0600, Wolcott, Ken (MED, Compuware) wrote: > Hi; > > I used Dan Kegel's crosstool version 0.24 (http://www.kegel.com/crosstool/) > to create an arm9 cross tool chain. I'm now trying to create an arm9 native > gdb. > > One of the developers I'm trying to support says that he gets the error > msg"GDB can't read core files on this machine". So he wants an arm9 native > gdb rather than aarm9 crossgdb. > > I have downloaded the gdb 6.0 source, expanded it, created a sibling > directory for my gdb build, executed configure and make using the attached > compile.sh script from the gdb build directory I created. The captured > output is also attached as kaw_make.log. There is mention of config.log, so > I attached it as well. > > All I need is a gdb that can read an arm9 corefile. Whether that is a cross > gdb (host: i686-pc-linux, target: arm-arm9-linux) or an arm9 native gdb, it > doesn't matter. > > Thanks, > Ken >