[PATCH] Re: stripping of DLLs?

Daniel P. Berrange berrange at redhat.com
Mon Jun 22 09:15:49 UTC 2009


On Mon, Jun 22, 2009 at 01:57:52AM +0200, Erik van Pienbroek wrote:
> Op donderdag 04-06-2009 om 13:41 uur [tijdzone +0200], schreef Fridrich
> Strba:
> > Just install them side by side with the binaries, like
> > something.dll.debug in the same directory as something.dll
> > 
> > The gnu debug link information will tell gdb on win32 where to look for
> > the symbols.
> > 
> > Cheers
> > 
> > Fridrich
> 
> Sorry for the late response, but I prepared a patch for
> mingw32-filesystem to add -debug subpackage support. Is it okay to
> commit this?
> 
> I've also added a patch for one of my packages to indicate the steps
> needed for all mingw32 packages to get -debug subpackage support. It
> basically consists of two extra lines.
> 
> There's one thing that needs attention: one needs to add
> %define __os_install_post %{_mingw32_debug_install_post}
> to the spec file. %global doesn't work in this case!

It looks ok, but the package should be called '-debuginfo' not just
'-debug', so that they end up in the correct YUM repositories.

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|



More information about the mingw mailing list