Does Cygwin setup modify dlls?

Eliot Moss moss@cs.umass.edu
Fri Sep 22 15:49:00 GMT 2017


On 9/22/2017 10:46 AM, Marco Atzeri wrote:
> On 22/09/2017 16:11, Eliot Moss wrote:
>> 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.
> 
>>
>> 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.
> 
> the change is on ImageBase address
> 
> $ objdump -x /usr/bin/cygglpk-40.dll |grep ImageBase
> ImageBase               00000003e1710000

So, if the OP compared output of objdump ignoring the ImageBase difference,
would that be able to indicate that the DLL is "the same" for his purposes
of knowing whether an installation is equivalent in terms of versions,
releases, etc.?

EM

--
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



More information about the Cygwin mailing list