Error "no termcap library found" when building gdb 6.6 for powerpc target

Dimitry Andric dimitry@andric.com
Mon Feb 12 20:06:00 GMT 2007


Supriya Sriraman wrote:
> I am getting "no termcap library found" error when I was building GDB
> 6.6, for a powerpc target.
> The host and target are powerpc, the build is i686-pc-linux-gnu.

Download termcap sources from here:
ftp://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz

Extract, configure and build using:

configure --build="i686-pc-linux-gnu" --host="powerpc-603e-linux-gnu" \
  --target="powerpc-603e-linux-gnu" --prefix="$HOME/install"
make
make install

This causes the termcap files to be installed under $HOME/install.  The
easiest way to make use of these for building gdb is to manually copy
include/termcap.h to your toolchain include directory, and
lib/libtermcap.a to your toolchain lib directory.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list