[PATCH 64bit] ssize_t

2013-02-20 Thread Yaakov (Cygwin/X)
Here is the patch for cygwin necessary for my newly-posted newlib patch. Yaakov cygwin-64bit-ssize_t.patch Description: Binary data

Re: [PATCH 64bit] ssize_t

2013-02-20 Thread Yaakov (Cygwin/X)
On Wed, Feb 20, 2013 at 3:32 AM, Yaakov (Cygwin/X) wrote: > Here is the patch for cygwin necessary for my newly-posted newlib patch. I forgot to mention that this probably requires everything to be rebuilt. :-( -- Yaakov

Re: [PATCH 64bit] ssize_t

2013-02-20 Thread Corinna Vinschen
On Feb 20 03:32, Yaakov (Cygwin/X) wrote: > Here is the patch for cygwin necessary for my newly-posted newlib patch. Good catch! Feel free to apply the Cygwin patch independently from the newlib patch. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to

Re: [PATCH 64bit] ssize_t

2013-02-20 Thread Corinna Vinschen
On Feb 20 03:43, Yaakov (Cygwin/X) wrote: > On Wed, Feb 20, 2013 at 3:32 AM, Yaakov (Cygwin/X) wrote: > > Here is the patch for cygwin necessary for my newly-posted newlib patch. > > I forgot to mention that this probably requires everything to be rebuilt. :-( Yes, but it's not exactly surprising

[PATCH 64bit] Export symbols with underscore

2013-02-20 Thread Cygwin/X
I have already encountered issues with the lack of leading-underscored exports for symbols declared in , as usage thereof often occurs in shared Cygwin/Win32 conditional code, and on Win32 these are underscored. Patch attached for the two symbols I have seen so far, but I wonder if I should just g

[PATCH] utils: force static linkage

2013-02-20 Thread Cygwin/X
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 (0x77d7) kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x75a5) KERNELBASE.dll => /cygdri

Re: [PATCH 64bit] Export symbols with underscore

2013-02-20 Thread Christopher Faylor
On Wed, Feb 20, 2013 at 03:16:00PM -0600, Yaakov wrote: >I have already encountered issues with the lack of leading-underscored >exports for symbols declared in , as usage thereof often occurs >in shared Cygwin/Win32 conditional code, and on Win32 these are >underscored. Patch attached for the two

Re: [PATCH] utils: force static linkage

2013-02-20 Thread Christopher Faylor
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 (0x77d7) > kernel32.dll => /cygdrive/c/Windows/syswow64

[PATCH] Missing dllimport's in

2013-02-20 Thread Cygwin/X
The attached patch for HEAD is required for compiling code which uses and -Wl,--disable-auto-import. Yaakov 2013-02-20 Yaakov Selkowitz * include/error.h (error_message_count): Declare as dllimport. (error_one_per_line): Ditto. (error_print_progname): Ditto. Index: include/error.h ==

Re: [PATCH] Missing dllimport's in

2013-02-20 Thread Christopher Faylor
On Wed, Feb 20, 2013 at 08:38:28PM -0600, Yaakov wrote: >The attached patch for HEAD is required for compiling code which uses > and -Wl,--disable-auto-import. > > >Yaakov >2013-02-20 Yaakov Selkowitz > > * include/error.h (error_message_count): Declare as dllimport. > (error_one_pe

[PATCH 64bit] lsaauth: skip 32bit DLL on 64bit target, part 2

2013-02-20 Thread Cygwin/X
The attached patch is a follow-up to my previous lsaauth patch. FWIW, it worked as intended only because the toplevel Makefile provided target_alias; this fixes make in the subdir. Yaakov 2013-02-21 Yaakov Selkowitz * Makefile.in (target_alias): Define for previous commit. * configure.in: S