Date: Tue, 10 Dec 2002 22:33:24 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: rich AT phekda DOT freeserve DOT co DOT uk Message-Id: <8011-Tue10Dec2002223324+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: acottrel AT ihug DOT com DOT au, djgpp-workers AT delorie DOT com In-reply-to: <3DF5AFB6.1E35E3F0@phekda.freeserve.co.uk> (message from Richard Dawe on Tue, 10 Dec 2002 09:11:18 +0000) Subject: Re: DJGPP 2.04 problem list References: <3DF5AFB6 DOT 1E35E3F0 AT phekda DOT freeserve DOT co DOT uk> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Tue, 10 Dec 2002 09:11:18 +0000 > From: Richard Dawe > > makefile.inc invokes 'ld' directly, to build the program. So does the linker script make the difference? Anyway, adding -v to the link command line (the one that does produce correct DWARF2 info) will show you how does GCC invoke ld to DTRT. We then should correct the makefile rules to do the same. > If I copy lib/gcc-lib/3.21/djgpp-x.djl to lib/djgpp.djl, I can build and debug > the test programs with DWARF-2 OK. Does Mark's patch to djgpp.djl fixes this?