This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Debugging ld
- To: "Trevor Forbes" <trevorforbes at ozemail dot com dot au>
- Subject: Re: Debugging ld
- From: Philip Blundell <philb at gnu dot org>
- Date: Sun, 26 Aug 2001 10:20:23 +0100
- Cc: binutils at sources dot redhat dot com
- References: <005d01c12e0e$7fb6a2a0$0300a8c0@ufo>
>I am after a bit of advice. What is the best way to debug ld when building a
>dll using gcc -shared........ I have a test case that does not do the right
>thing
>in linking but I cannot get gdb to trace it through the build process. Its
>gcc
>calling ld that seems to be causing me trouble.
Use "gcc -v" to see what arguments are being passed to ld. Then run ld under
the debugger with the same parameters.
p.
PGP signature