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


it means gcc does not have these paths in its default search list. Try

<cross-compiler-name> -print-file-name=libc.a

I tried the above command, got the path to libc.a. I looked in that directory. I have libtermcap.a in the same directory! It did not pick it up.

$ ./crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/bin/powerpc-603e-linux-gnu-gcc
--print-file-name=libc.a
/proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/lib/libc.a


ls /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/lib/libtermcap.a /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/lib/libtermcap.a

And, the termcap.h file is in the include directory:
ls /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/include/termcap.h
/proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/include/termcap.h

--
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]