On Nov  6 21:53, Corinna Vinschen via Cygwin wrote:
> - create binaries with debug info
> - create debug info files from the non-stripped binaries and copy
>   them to usr/debug/...

sorry, usr/lib/debug/...

> - strip the binary and pack it into the base package "foo"
> - pack the debug info files into the debug package "foo-debug"
> 
> So, a user of the package gets just the smaller stripped foo binary,
> while a developer can install the foo-debug package and actually
> debug the foo binary.
> 
> > Is it a common practice for GNU/Linux distribution to strip binaries when
> > creating packages?
> 
> Yes.  Plus generating the debug info package.

Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to