This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Rewrite/fix cygwin1.dbg generation
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 03 Nov 2007 10:44:26 -0700
- Subject: Re: Rewrite/fix cygwin1.dbg generation
- References: <472CB021.5040806@portugalmail.pt>
- Reply-to: cygwin-patches at cygwin dot com
Pedro Alves wrote:
> The dllfixdbg hunk looks hard to read. Here's what is looks
> like after patching:
I think that if whatever bugs used to exist in older binutils PE support
that necessitated this hackery are now gone, we can just do away with
dllfixdbg alltogether and just put this:
> ${STRIP} --strip-debug ${DLL} -o stripped-${DLL}
> ${STRIP} --only-keep-debug ${DLL} -o ${DBG}
> ${OBJCOPY} --add-gnu-debuglink=${DBG} stripped-${DLL} ${DLL}
> rm -f stripped-${DLL}
...in the Makefile.
Brian