This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Cross Compile GDB 6.6 PPC405
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