[PATCH] utils: force static linkage
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Thu Feb 21 01:15:00 GMT 2013
On Wed, Feb 20, 2013 at 03:31:03PM -0600, Yaakov wrote:
>Last time I checked, we were linking all utils statically, so this
>caught me by surprise:
>
>$ /bin/ldd dumper.exe
> ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77d70000)
> kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x75a50000)
> KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x76ef0000)
> cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
> cygintl-8.dll => /usr/bin/cygintl-8.dll (0x49bd0000)
> cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x6bfb0000)
> ??? => ??? (0x550000)
>
>The -static flag implies -static-libgcc (see gcc -dumpspecs) and affects
>all other libraries (including libstdc++). Patch for HEAD attached.
>
>
>Yaakov
>2013-02-20 Yaakov Selkowitz <yselkowitz@...>
>
> * Makefile.in (CYGWIN_LDFLAGS): Replace -static-lib* with -static.
> (MINGW_LDFLAGS): Ditto.
> (ZLIB): Simplify accordingly.
Please check in.
cgf
More information about the Cygwin-patches
mailing list