sis/gdb on Cygwin

Joel Sherrill joel at
Wed Aug 7 18:22:31 UTC 2019


Looks like Cygwin has libncurses but doesn't install the libtermcap.
compatibility library.  says to link against

 gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//`   -I.
-I../../../gdb-8.2.1/sim/sis -I../common
-I../../../gdb-8.2.1/sim/sis/../common -I../../include
-I../../../gdb-8.2.1/sim/sis/../../include -I../../bfd
-I../../../gdb-8.2.1/sim/sis/../../bfd -I../../opcodes
-I../../../gdb-8.2.1/sim/sis/../../opcodes  -g -O2 -o sis \
  sis.o exec.o erc32.o func.o help.o float.o grlib.o leon3.o leon2.o
 ../../bfd/libbfd.a ../../opcodes/libopcodes.a  ../../libiberty/libiberty.a
-L../../zlib -lz ../../readline/libreadline.a `if test -r
../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a;
else echo -ltermcap; fi` -luser32 -lm
cannot find -ltermcap
collect2: error: ld returned 1 exit status

Is the solution to just add -lncurses to the list of libraries it looks for?

Hopefully someone has some insight into this one.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list