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, 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.