Error "no termcap library found" when building gdb 6.6 for powerpc target
Dan Wilder
Dan.Wilder@watchguard.com
Mon Feb 12 20:13:00 GMT 2007
Or use your package manager (yum, uptodate or whatever) to locate and
install
a package named
ncurses-devel
which is I believe what the relevant .rpm package will be named.
If a package is available under your OS or distro it's often better for
ease-of-maintenance reasons to install the native package rather than
building from source.
-----Original Message-----
From: crossgcc-owner@sourceware.org
[mailto:crossgcc-owner@sourceware.org] On Behalf Of Dimitry Andric
Sent: Monday, February 12, 2007 12:06 PM
To: Supriya Sriraman
Cc: crossgcc
Subject: Re: Error "no termcap library found" when building gdb 6.6 for
powerpc target
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
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list