Ludovic Brenta wrote:
So I'm tempted to file another bug, this one against libgnat-4.1,
stating that we need to compile a debug version (that would land in
/usr/lib/debug) so that it's possible to set breakpoints within
library functions. We should do so for the various libgtkada-2.8
libraries as well, but libgnat is by far the most important in this
regard.
Try to link statically against
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/adalib/libgnat.a, it already
contains debugging symbols.
This doesn't work. There doesn't seem to be any combination of linker
options I can use to force it to use libgnat.a instead of
libgnat-4.1.so. I've tried using:
-Bstatic /usr/lib/gcc/x86_64-linux-gnu/4.1.2/adalib/libgnat.a
or
-Bstatic -lgnat
at the end of the Linker package Default_Switches list, and the same
things, followed by -Bdynamic, at the beginning of that list, to no avail.
I've also tried just including the full path to libgnat.a in the list
without anything else, and that also had no effect.
I can't just specify -static because it requires *all* libraries to be
static.
:-(
So...I think I'll file that bug now.
--
Kevin Brown [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]