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] |
Dimitry,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.
Thank you for the help with termcap. I installed it and copied the files to the toolchain directories as instructed by you.
find . -name libtermcap.a -print ./gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/lib/libtermcap.a ./gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/lib/gcc-lib/powerpc-603e-linux-gnu/2.95.3/libtermcap.a ./gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/lib/libtermcap.a
What directories is it looking in for the library? Should I have it in my path or environment? See below for the relevant portion of the error (where is it finding the other libraries - tinfo, curses, ncurses?):
+ for ac_lib in termcap tinfo curses ncurses + LIBS='-lncurses -lm ' + cat + cat confdefs.h + cat + rm -f conftest.o conftest + eval echo 'configure:5653: "$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5"' ++ echo configure:5653: '/proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/bin/powerpc-603e-linux-gnu-gcc -o conftest -v -g -O2 conftest.c -lncurses -lm >&5' + ac_status=1^ + grep -v '^ *+' conftest.er1
+ cat conftest.err + echo 'configure:5659: $? = 1' + exit 1 + echo 'configure: failed program was:' + sed 's/^/| /' conftest.c + rm -f conftest.err conftest.o conftest conftest.c + LIBS='-lm ' + echo 'configure:5687: result: no'
+ echo no + test no '!=' no + test no = no + echo 'configure:5696: error: no termcap library found' + echo 'configure: error: no termcap library found'
-- 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] |