Re: Compile/run problems on cygwin not solved by going to cygwin64
- Date: Thu, 29 Jun 2017 14:34:15 +0000 (UTC)
- From: "Ian Lambert via cygwin" <cygwin@xxxxxxxxxx>
- Subject: Re: Compile/run problems on cygwin not solved by going to cygwin64
On Wed, 6/28/17, Wouter van Doorn <> wrote:
Subject: Compile/run problems on cygwin not solved by going to cygwin64
Date: Wednesday, June 28, 2017, 4:00 PM
This is what ldd has to say about the
linkage, and file about the whole:
$ ldd hello.exe
=> /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x77bd0000)
kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll
=> /usr/bin/cygwin1.dll (0x180040000)
For what it's worth, mine ("Enterprise") has a few more things.
Probably most are not needed add-ons for security, etc., but who knows.
Also, gdb run showed a few more Thread: lines; probably related.
ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x76f70000)
kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x76e50000)
KERNELBASE.dll => /cygdrive/c/WINDOWS/system32/KERNELBASE.dll (0x7fefcc90000)
ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x7fefefa0000)
msvcrt.dll => /cygdrive/c/WINDOWS/system32/msvcrt.dll (0x7fefe7e0000)
sechost.dll => /cygdrive/c/WINDOWS/SYSTEM32/sechost.dll (0x7fefeea0000)
RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x7fefd0c0000)
SYSFER.DLL => /cygdrive/c/WINDOWS/System32/SYSFER.DLL (0x74950000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
-Wall (or -Wextra) "enables all the warnings..." (or even more warnings),
according to "man gcc".
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple