Tiny Core Linux
Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: hiro on January 15, 2015, 06:01:51 AM
-
I've been using gdb on tc4 before, would be really happy about a version for tc 6 if it's not too much hassle.
Thanks
-
does the tc-4.x version of gdb work on tc-6.x?
-
no, libtinfo.so.5 which used to be in ncurses-dev is missing.
-
I had an app that needed libtinfo.so.5 and as a quick and dirty workaround, I loaded ncursesw.tcz and symlinked libtinfow.so.5 as libtinfo.so.5 and it worked. Not the cleanest solution, but easy. ymmv. :)
-
Thanks for this suggestion, Lee, this way it works great on tc6 :)
-
Uhh... I'm looking for gdb for TC6 and I'm a bit surprised that it's not in the repository. Besides the suggested hack, I'm wondering if there has been any progress?
-
I'll try to have a look at it this morning.
-
gdb from the tc-5.x repo works with the updated ncurses in the tc-6.x repo, so gdb copied to the tc-6.x repo
-
Thanks so much, looks like things are partway there... Just pulled the gdb that you uploaded to the T6 repo. In starting gdb from the command line I see an error that the shared library libtinfo.so.5 could not be loaded as it could not be found.
On another note, just before I found your note, after several tries, I was able to build gdb-7.8.2 from source... I used a bash shell to do the build. I remembered that compiletc loads the build tools, I obtained the texinfo and ncurses packages from the TC6 repo. I had ncurses install onboot.
I'm a bit suspicious of what I have so I built a simple hello world program and see it in the command line version of gdb which is encouraging. I also gave the gdb text-user interface a try. While it doesn't immediately show the source, right after I hit return, the source showed right up... Anyone have a favorite graphical tool for use with gdb?
I have my TC system in a USB memory stick and built gdb there, so for now I can do a "make install" but that takes some time. I'm not sure how to package that up...
-
Hi kmhill
I'm not sure how to package that up...
Information on building extensions can be found here:
http://wiki.tinycorelinux.net/wiki:creating_extensions
-
Thanks, I'll take a look at that
-
In starting gdb from the command line I see an error that the shared library libtinfo.so.5 could not be loaded as it could not be found.
It sounds like you didn't update the ncurses extension and reboot?
..but please go ahead with the updated extension anyway.