How to [message #207292] |
Thu, 27 December 2007 13:07  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.54793 seconds