From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25644 invoked by alias); 14 Feb 2007 20:14:58 -0000 Received: (qmail 25636 invoked by uid 22791); 14 Feb 2007 20:14:57 -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; Wed, 14 Feb 2007 20:14:48 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HHQWW-0002wS-8j; Wed, 14 Feb 2007 15:14:40 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HHQWV-0004rw-OO; Wed, 14 Feb 2007 15:14:39 -0500 Date: Wed, 14 Feb 2007 20:27:00 -0000 From: Daniel Jacobowitz To: Clint Thomas Cc: gdb@sourceware.org Subject: Re: Cross Compile GDB 6.6 PPC405 Message-ID: <20070214201439.GA18562@caradoc.them.org> Mail-Followup-To: Clint Thomas , gdb@sourceware.org References: <3C02138692C13C4BB675FE7EA2409529297FA2@bluefin.Soneticom.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C02138692C13C4BB675FE7EA2409529297FA2@bluefin.Soneticom.local> User-Agent: Mutt/1.5.13 (2006-08-11) 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/msg00144.txt.bz2 On Wed, Feb 14, 2007 at 03:09:47PM -0500, Clint Thomas wrote: > 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. Now when I build GDB, I get this output This is still a basic cross-compiling question: if you need ncurses, you don't just need the libraries, you need the headers too. If you had them... > In file included from .././gdb/tui/tui-command.c:28: > > ./tui/tui-data.h:40: error: parse error before "WINDOW" ...they'd define this. -- Daniel Jacobowitz CodeSourcery