cygport - avoid stripping binaries

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Nov 6 20:55:41 GMT 2021


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


More information about the Cygwin mailing list