X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=A/jcOvKhWZOeSpNV
	wT3dI21IOkMNrLa2AgcCI804XAGenUuWv7Fc6qTPNl3/4y/Yn7AFhcUOrE1dZMkk
	LW+5PpAxfz1OMZjYHU/s6+F/pqJleYeZWyfaIpHQVLPuAAND3CL/c1pRTE4r37Ht
	Ey+dw1OrBMyH5y/HS6CsAswrdGY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=qcEmKzrTM0clQd346NU1A6
	Yry4I=; b=jZJUYW35kpGBxdrYZRkgq0mF+HovvY66VguGvqIggIB6JiwWZmgiHx
	2wQYQP03gP/1Uycw4sA9qDutjhbrxHR2ltiA6eiUlAff5v+r+cguyHnqS4PlIbTx
	4msLPMS+ckQTFFScY66R3GD3m22ju0uUnDEsOG0HJO+E3tDwGyT2U=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Our, our
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss@cs.umass.edu
Subject: Re: Does Cygwin setup modify dlls?
To: cygwin@cygwin.com
References: <trinity-f19f7555-e19d-4d9b-98bd-3d2da10e8cf1-1506088812465@3c-app-gmx-bs21>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <0ec4a5bf-d608-68d2-973d-3e8b5db33589@cs.umass.edu>
Date: Fri, 22 Sep 2017 10:11:07 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <trinity-f19f7555-e19d-4d9b-98bd-3d2da10e8cf1-1506088812465@3c-app-gmx-bs21>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 9/22/2017 10:00 AM, Joachim Eibl wrote:
> Hi,
>   
> In our project we like the Cygwin-Setup tool so much that we use it for our own files too.
> Adding our archives to our setup.ini was easy enough and almost everything worked as expected.
>   
> But then a certain tool didn't work and we found that dll-files that were unpacked by the Cygwin-installer didn't match the files in the archive.
> The problem seems to be dll-specific. Other filetypes are not modified.
>   
> When unpacking using normal Cygwin-tools (tar xf ...) all files were correct. So somehow the installation via Cygwin modifies them.
>   
> Is this known behaviour? Is this intentional? Can it be turned off? (Is there some postprocessing like "strip" etc?)
> Or do you think we have another kind of problem, that is not related to Cygwin?
>   
> Our Cygwin-setup-version is 2.877, x86_64, running on Windows 10 or Windows 7.

Cygwin's rebasing of DLLs does modify the files (slightly).
Others can probably detail the exact nature of what changes,
and perhaps the comparison tool can be refined to ignore that
as a difference.

Regards - Eliot Moss

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

