delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/06/16:56:52

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C40A63857C6F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1636232211;
bh=h/sJ9w8Il+CnH23FPdB1stan0USNkS7xQqw4rJGyZsY=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=X8ZF+th+17hZp+Gayzej9QyoHMKPTxotdzS1OvXW4IQBFK0rYxabM2I3/2bXsclcE
22eJjxmZaV16PrO7pt2s25rdNPKU/ns2ZrIgt2CLsxn8L2LVeQiw7koHfqb4H/GwBx
1cxYpzSNajDcqASSEqJUNogmfqzHUduCM8F5ihd0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5D7563858401
Date: Sat, 6 Nov 2021 21:55:41 +0100
To: cygwin AT cygwin DOT com
Subject: Re: cygport - avoid stripping binaries
Message-ID: <YYbrzYIU5+xT+5pO@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f25e25ff-b1f5-8450-392f-6573a358f60b AT gmail DOT com>
<YYa7nSnI4l6eZHWC AT calimero DOT vinschen DOT de>
<9674a878-a59c-6ea0-9d09-ff45d3f5c579 AT gmail DOT com>
<YYbrN5JEhJb6aITG AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <YYbrN5JEhJb6aITG@calimero.vinschen.de>
X-Provags-ID: V03:K1:8S8LSVN/8rApPuWhIuto+LBY2M96KmKPtYHNwPPgVjd9YS+lNP5
aaSs0Lwf/L+B+dt1QSJ7bj9Url984qAsOcAx7k1LKpmTiQMYigvBxLM8oG3HXkXC+bbwKGU
9WcpkvkZjRIh/LgIpsIAS+HTFIHaOJWJLIV5S11vPn0sc2yj0SB3yaldGbPvId96IsZMMQk
s4JV8tk2hqXpAncGUlEpg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:VWBV+R2HdOE=:sl8D+PXm18O3scZDCVs8eN
ZXSerwa+UJ0NDWovSqnIt0JShngcFsJB/tA85e+JnYKk1PeWAzx04eJs/B7WVjWKQpkioYH0n
GUB6MmvnwHAkhOKkyLZaEstZcG9gJKffFqX4JCAcmNq03yb/f224HygN9y3WXAjg3XSCSgMO/
4bb7ikjoT86iPiRiXJW7VJzM6vxIqfpzGiyXBTm+F3YeO5Kd6bSfL15rHbwasmEKANIM2WOZj
OSo/z7UsqoedRIOdxwDQKnFM0ngXR4ZHll5zpTCCotlO6axJsg2v3f7ALCB+jH36wQkaXV49g
Uk4JyTTlTECBkXKNqlCCcbgYcKElQHWiIQGD3MHyx/WrTcpKxsFy84tgc+Yh2gzB0Ua8mo72b
LJUiineP576BB/pSnYfLAMns4mvkoGBGx/qfKIAZZdxB3TxRSiXM08qc9v07eQBxEg1mmQGAK
x76JA5LONkJfU1CwhKyxKgFJ+CBQac7eQYnSrN1atJeQ36El2dZWjxQRBZtBnMJBThEHHZZrW
ibZ/IbXa0b5Fn90JfHRDThnN/qXuW0oTiawSLeUjI5lOqBLM7iUXvdLr5j6ngRPD4EZzNIoxH
TAM3iLXsBisfsIbxDe3Svd0JwNNHYo1tA4TGyRmllC/68DzHNUmHRuSugCNO3DNoMB7HHZ+zi
0COOM2CiQdCjWEUupW1oM0PssdGh01rARM+iJsuEVBcDZs67aXKObTrmkOVnZRYJmgaKqnpn3
OjIxmVQc6aGjFh+p
X-Spam-Status: No, score=-99.3 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019