From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28924 invoked by alias); 15 Feb 2007 00:43:37 -0000 Received: (qmail 28916 invoked by uid 22791); 15 Feb 2007 00:43:36 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Feb 2007 00:43:32 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id A72F311C9C4; Wed, 14 Feb 2007 16:43:12 -0800 (PST) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10915-02-3; Wed, 14 Feb 2007 16:43:11 -0800 (PST) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id A94B411C9AD; Wed, 14 Feb 2007 16:43:11 -0800 (PST) Received: from 192.168.92.92 ([192.168.92.92]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Thu, 15 Feb 2007 00:43:11 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 14 Feb 2007 16:43:10 -0800 Subject: Re: Cross Compile GDB 6.6 PPC405 From: Michael Snyder To: Clint Thomas Cc: gdb@sourceware.org In-Reply-To: <3C02138692C13C4BB675FE7EA2409529297FA2@bluefin.Soneticom.local> References: <3C02138692C13C4BB675FE7EA2409529297FA2@bluefin.Soneticom.local> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 15 Feb 2007 07:35:00 -0000 Message-Id: <1171500190.14623.82.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00152.txt.bz2 On Wed, 2007-02-14 at 15:09 -0500, Clint Thomas wrote: > Hey guys, > > I am trying to build a native GDB to run on my powerpc-405 target. To do > this, I run the configure script in gdb-6.6 as such ./configure > --build=i386-linux-gnu --target=powerpc-405-linux-gnu > --host=powerpc-405-linux-gnu Now beforehand, I tried building this, and > the make would always fail with the error "No Termcap Library found". > After finding out that the --builduserland option is broken, I tried > cross-compiling ncurses manually. After doing that, I moved the contents > of the ../ncurses/lib directory into the directory containing libc.a in > my cross-compiler directory. I think you need to "make install" ncurses. You can use --prefix when you configure it, to point the install at the target (ppc) location.