Error "no termcap library found" when building gdb 6.6 for powerpc target
Wed Feb 14 20:22:00 GMT 2007
Supriya Sriraman wrote:
> On 2/12/07, Dimitry Andric <firstname.lastname@example.org> wrote:
>> 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:
>> 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 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.
> Thank you for the help with termcap. I installed it and copied the
> files to the toolchain directories as instructed by you.
> Unfortunately, I continue to get the "no termcap library found" error.
it means gcc does not have these paths in its default search list. Try
this will give you the path where it is looking for libc.a
put your libtermcap.a in the same directory and it will pick it up
you can also check all the library paths gcc searches using
<whatever your gcc> -print-search-dirs
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc