sis/gdb on Cygwin

Joel Sherrill joel at rtems.org
Wed Aug 7 19:46:07 UTC 2019


On Wed, Aug 7, 2019 at 2:33 PM Jiri Gaisler <jiri at gaisler.se> wrote:

>
> On 8/7/19 8:22 PM, Joel Sherrill wrote:
> > Hi
> >
> > Looks like Cygwin has libncurses but doesn't install the libtermcap.
> > compatibility library.
> >
> > https://cygwin.com/ml/cygwin/2010-10/msg00018.html  says to link
> > against ncurses.
> >
> >  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
> > /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/bin/ld:
> > 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.
>
> How about a patch that disables building sis inside gdb and only use the
> newer stand-alone sis version?
>

As long as the rtems tester supports it, I am cool with that.

My goal is to begin to do regular builds and test sweeps on Cygwin
and Mingw and report to build at . So the RSB and tester need to work. :)

>
> Jiri.
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190807/0c788b4a/attachment.html>


More information about the devel mailing list