From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31364 invoked by alias); 14 Feb 2007 20:24:17 -0000 Received: (qmail 31356 invoked by uid 22791); 14 Feb 2007 20:24:17 -0000 X-Spam-Check-By: sourceware.org Received: from homer.mvista.com (HELO gateway-1237.mvista.com) (63.81.120.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Feb 2007 20:24:10 +0000 Received: from [10.0.4.58] (apollo.mvista.com [10.0.4.58]) by hermes.mvista.com (Postfix) with ESMTP id B389D1C666; Wed, 14 Feb 2007 12:24:08 -0800 (PST) Message-ID: <45D36FE8.6020702@mvista.com> Date: Wed, 14 Feb 2007 20:48:00 -0000 From: Khem Raj User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Clint Thomas , gdb@sourceware.org Subject: Re: Cross Compile GDB 6.6 PPC405 References: <3C02138692C13C4BB675FE7EA2409529297FA2@bluefin.Soneticom.local> <20070214201439.GA18562@caradoc.them.org> In-Reply-To: <20070214201439.GA18562@caradoc.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/msg00145.txt.bz2 Daniel Jacobowitz wrote: > 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. > > may be this thread can help you http://sourceware.org/ml/crossgcc/2007-02/msg00011.html -Khem