This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]