X-Recipient: archive-cygwin AT delorie DOT 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=EL5 vQ/3haGYPvVcXpDMqcXTNytEx4Gxrj1Owt489UOQ9trr41/eB0fdM+A93OvhX3zF 7rOJTnsbpP5qCwCM7oMfG/oesjmh2hdFbKXf08YHSIwdvfunkE3t473YAvAuce+p 553o+HlxoEyOizQeGOUCJTCAjzKkP1cMy7B74k5w= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=+H47iySYP uOTCWHtlVFJXXVmmfY=; b=k/okZcZxQHpnh2TlXMA6lIKFkgBHiNtPr0wm8NZGy 5nKng/qfjDeCOYuquI2VbxSIuV3uH2ahHSb3WhNYRavDbwWcJPr+AKgR1d0ZzA8c RoHRcZ5o2BABDnVIaK26Ah3gdf1tsCYku8MARwI2HygEfSAYjbOJcWOVXEexd70Y Ew= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=pe, PE, Third, voice X-HELO: EMP-EXED101.leidos.com To: From: Roger Wells Subject: ldd differences Message-ID: <56E6DA81.3050100@leidos.com> Date: Mon, 14 Mar 2016 11:36:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u2EFawOF010130 On a 32 bit Cygwin installation on a Windows 7 host that is a few years old: $ uname -a CYGWIN_NT-6.1-WOW64 DET000-DAC1 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin running ldd on a newly built executable gives: $ ldd z12.exe ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77df0000) kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x75b40000) KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x766c0000) msvcrt.dll => /cygdrive/c/Windows/syswow64/msvcrt.dll (0x75c50000) libnmea0183.dll => /cygdrive/d/iss60/dll/libnmea0183.dll (0x614c0000) libsensors.dll => /cygdrive/d/iss60/dll/libsensors.dll (0x68cc0000) libutility.dll => /cygdrive/d/iss60/dll/libutility.dll (0x70cc0000) ADVAPI32.DLL => /cygdrive/c/Windows/syswow64/ADVAPI32.DLL (0x75a70000) sechost.dll => /cygdrive/c/Windows/SysWOW64/sechost.dll (0x76150000) RPCRT4.dll => /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x762d0000) SspiCli.dll => /cygdrive/c/Windows/syswow64/SspiCli.dll (0x754b0000) CRYPTBASE.dll => /cygdrive/c/Windows/syswow64/CRYPTBASE.dll (0x754a0000) USER32.dll => /cygdrive/c/Windows/syswow64/USER32.dll (0x75840000) GDI32.dll => /cygdrive/c/Windows/syswow64/GDI32.dll (0x75720000) LPK.dll => /cygdrive/c/Windows/syswow64/LPK.dll (0x766b0000) USP10.dll => /cygdrive/c/Windows/syswow64/USP10.dll (0x763c0000) WINMM.DLL => /cygdrive/c/Windows/system32/WINMM.DLL (0x71ee0000) WSOCK32.DLL => /cygdrive/c/Windows/system32/WSOCK32.DLL (0x72b10000) WS2_32.dll => /cygdrive/c/Windows/syswow64/WS2_32.dll (0x75f20000) NSI.dll => /cygdrive/c/Windows/syswow64/NSI.dll (0x75710000) libfilters.dll => /cygdrive/d/iss60/dll/libfilters.dll (0x6dc40000) IMM32.DLL => /cygdrive/c/Windows/system32/IMM32.DLL (0x756b0000) MSCTF.dll => /cygdrive/c/Windows/syswow64/MSCTF.dll (0x75ff0000) An expected list containing dependencies on Windows and our own DLL's. On a quite new 64 bit Cygwin running on a Windows 10 host: $ uname -a CYGWIN_NT-10.0 rwells-x220 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin Running ldd on the same executable file gives: $ ldd z12.exe ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffe2bfd0000) ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x774b0000) wow64.dll => /cygdrive/c/WINDOWS/system32/wow64.dll (0x72290000) wow64win.dll => /cygdrive/c/WINDOWS/system32/wow64win.dll (0x722e0000) ??? => ??? (0xc0000) KERNEL32.DLL => /cygdrive/c/WINDOWS/SYSTEM32/KERNEL32.DLL (0x76a60000) ??? => ??? (0xc0000) ??? => ??? (0x650000) wow64cpu.dll => /cygdrive/c/WINDOWS/system32/wow64cpu.dll (0x72280000) KERNEL32.DLL => /cygdrive/c/WINDOWS/SYSTEM32/KERNEL32.DLL (0x76a60000) KERNELBASE.dll => /cygdrive/c/WINDOWS/SYSTEM32/KERNELBASE.dll (0x75870000) msvcrt.dll => /cygdrive/c/WINDOWS/SYSTEM32/msvcrt.dll (0x76e50000) And the executable, z12.exe, does run correctly on both systems. What I really need is a reliable way to get a recursive listing of the complete path to all dependencies. I tried using Dependency Walker (both 32 & 64 bit) but it does not seem to run on W10. TIA -- Roger Wells, P.E. leidos 221 Third St Newport, RI 02840 401-847-4210 (voice) 401-849-1585 (fax) roger DOT k DOT wells AT leidos DOT com -- 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