Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to
How to [message #207292] Thu, 27 December 2007 13:07 Go to next message
Eclipse UserFriend
Hi,

I have created several libraries and executable using the GNU Autotools
in the Eclipse CDT.

If I run the script that functions as the executable wrapper (I am
building my project outside the source directory) the program runs just
fine, outside Eclipse. Running gdb on the actual executable (which
resides in a .lib directory just beneath the executable wrapper script)
also works but that is a rather hostile and non-graphical environment.

If I want to start it with gdb using Eclipse, it complains that the
needed shared libraries cannot be found ("error while loading shared
libraries: libdanubase.so.0: cannot open shared object file: No such
file or directory"). Both the executable and the libraries are visible
in the "binaries" container. I tried to add the libraries to debugger
options "shared libraries" tab but that did not work.

How do I debug an Autotools created executable using gdb?

TIA

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
Ooops: "How to debug an autools generated executable/library?" [message #207293 is a reply to message #207292] Thu, 27 December 2007 13:18 Go to previous message
Eclipse UserFriend
Ooops, the subject should have read "How to debug an autools generated
executable/library?"
Previous Topic:Re: Configuring Eclipse to use GCC toolset for PPC in non-default location, how?
Next Topic:is there faster way to direct libraries in the linker section ?
Goto Forum:
  


Current Time: Wed Jul 16 22:20:44 EDT 2025

Powered by FUDForum. Page generated in 0.54793 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top