Re: Debug packages cluttering the archive
On Sun, Feb 06, 2005 at 01:14:09AM -0500, Glenn Maynard wrote:
> On Sat, Feb 05, 2005 at 10:33:53PM -0700, Joel Aelwyn wrote:
> > It was brought up on IRC, a couple of weeks ago (my apologies, but I don't
> > recall who brought it up, nor do I have a log) that it is now possible
> > to strip debugging information from a binary or library, and keep the
> > debugging information in a separate file. When invoking GDB (I don't know
>
> (Aha: the strip tool mentioned is in elfutils, which is non-free. Blah.)
You can do this with strip and objcopy, see the manpage for
--only-keep-debug
Kurt
Reply to: