This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
 To: cygwin@cygwin.com
 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
         ntdll.dll
 => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x77bd0000)
        
 kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll
 (0x77ab0000)
        
 KERNELBASE.dll =>
 /cygdrive/c/Windows/system32/KERNELBASE.dll
 (0x7fefda70000)
         cygwin1.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
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]