From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26523 invoked by alias); 20 Feb 2006 13:48:06 -0000 Received: (qmail 26514 invoked by uid 22791); 20 Feb 2006 13:48:06 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 20 Feb 2006 13:48:04 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FBBOS-000377-Jy; Mon, 20 Feb 2006 08:48:00 -0500 Date: Mon, 20 Feb 2006 18:57:00 -0000 From: Daniel Jacobowitz To: Sachin Rao Cc: gdb@sources.redhat.com Subject: Re: Help with compiling GDB for PPC Message-ID: <20060220134800.GB11865@nevyn.them.org> Mail-Followup-To: Sachin Rao , 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.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00270.txt.bz2 On Sun, Feb 19, 2006 at 09:53:41PM -0800, Sachin Rao wrote: > Hi, > > We have a rather old version of GDB (5.2.1) cross-compiled for the PPC > target. I wish to use the latest GDB source to compile a newer version > of GDB using the native PPC compiler toolchain that we have. For this I > tried > > ./configure --target=powerpc-hardhat-linux --host=powerpc-hardhat-linux > > And then modified the CC, LD, AS, AR defines in the Makefile to point > to the respective native PPC compiler tools, but the build failed, first > in the readline module. > > I wanted to know if iam going about it the right way, or is there a > better way to accomplish this task? You need to set one autoconf variable for readline in order for this to work, I think it's bash_cv_have_mbstate_t=yes. -- Daniel Jacobowitz CodeSourcery