public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Debugging ld
@ 2001-08-26  2:06 Trevor Forbes
  2001-08-26  2:20 ` Philip Blundell
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Forbes @ 2001-08-26  2:06 UTC (permalink / raw)
  To: binutils

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.

I using the CVS binutils on Cygwin

Trevor


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Debugging ld
  2001-08-26  2:06 Debugging ld Trevor Forbes
@ 2001-08-26  2:20 ` Philip Blundell
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Blundell @ 2001-08-26  2:20 UTC (permalink / raw)
  To: Trevor Forbes; +Cc: binutils

>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.

-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)

iD8DBQE7iL9XVTLPJe9CT30RAh2kAJ9f1el//SY8e6KT9LdKIAHRiYEXRACgm9n7
Rd/HXQeAuq3N8KhOvVbjsXc=
=fTwl
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-26  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-26  2:06 Debugging ld Trevor Forbes
2001-08-26  2:20 ` Philip Blundell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).