From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31562 invoked by alias); 21 Feb 2006 04:13:01 -0000 Received: (qmail 31551 invoked by uid 22791); 21 Feb 2006 04:13:00 -0000 X-Spam-Check-By: sourceware.org Received: from 63-197-255-151.ded.pacbell.net (HELO sinett.com) (63.197.255.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Feb 2006 04:12:58 +0000 Content-class: urn:content-classes:message Subject: RE: Help with compiling GDB for PPC MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Feb 2006 06:55:00 -0000 Message-ID: From: "Sachin Rao" To: "Daniel Jacobowitz" Cc: 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/msg00278.txt.bz2 Thanks, & do I need to change the include path in the Makefile to point to the native PPC Linux include path? I could not find the reference to the path anywhere in the generated Makefile... -- Sachin. -----Original Message----- From: Daniel Jacobowitz [mailto:drow@false.org]=20 Sent: Monday, February 20, 2006 7:18 PM To: Sachin Rao Cc: gdb@sources.redhat.com Subject: Re: Help with compiling GDB for PPC On Sun, Feb 19, 2006 at 09:53:41PM -0800, Sachin Rao wrote: > Hi, >=20 > 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=20 >=20 > ./configure --target=3Dpowerpc-hardhat-linux --host=3Dpowerpc-hardhat-linux >=20 > 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.=20 >=20 > 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=3Dyes. --=20 Daniel Jacobowitz CodeSourcery