dladdr in executable and shared object
Andreas Bachmann
bachi at te-clan.ch
Sun Feb 19 13:45:36 PST 2006
Hi Joerg
Ahh... Thank you. When I compile with the Sun Compiler, the
dynamic linking section will be present by default.
In the GNU compiler, as you wrote, it must be explicit specific.
Andreas
On Sun, 2006-02-19 at 18:22 +0100, joerg at britannica.bec.de wrote:
> On Sun, Feb 19, 2006 at 05:59:47PM +0100, Andreas Bachmann wrote:
> > I think the whole dynamic linking functions are buggy.
>
> First of all, calm down. Second, do your home work.
> By default the necessary dynamic linkage section is not present in
> executables, only shared libraries. Try -Wl,-E instead.
>
> Joerg
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
More information about the freebsd-hackers
mailing list