This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Debugging ld


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]