Re: dirent.h on MSVC

2011-09-12 Thread Bruno Haible
Here comes a working implementation of the function for MSVC. I'm not implementing telldir() and seekdir() because these functions - are marked as XSI in POSIX, - would be inefficient - are anyway unreliable (if the contents of the directory has changed). Note that - 'readdir' depends on

Re: [PATCH] Improve sha*sum speed

2011-09-12 Thread Loïc Le Loarer
Hi, In fact, I have access to a Pentium(R) 4 CPU 2.80GHz, which is much slower in fact so I have replaced the 1G zero bytes by 100M zero bytes, and tested only the 32 bit binaries of course and you can find the results attached. It seems that the impact of my patches are much more convincing on t

[PATCH] Improve sha*sum speed

2011-09-12 Thread Loïc Le Loarer
Hi, Here is my latest results and patch. Please find the patches to sha1.c, sha256.c and sh512.c attached and the "time" of the resulting binaries in sha_benchs.log. For all binaries, in 64 and 32 bits modes (.m32), I run 3 times the command "\time sha*sum zero1G" where zero1G is a 10^9 bytes file

Re: autoconf + automake support for MSVC

2011-09-12 Thread Harlan Stenn
Bruno wrote: > Cross-compiling means that the generated executable can not be run on > the build machine. Is that different from executables generated on the build machine cannot be run on the host machine? H

Re: long long double on interix

2011-09-12 Thread Markus Duft
On 09/09/11 08:55, Markus Duft wrote: > On 09/08/11 08:09, Markus Duft wrote: >> On 06/10/11 11:37, Bruno Haible wrote: > [snip] >>> >>> You need to find out what is wrong about that type on your platform. If >>> you're lucky, it's only some library functions (like snprintf) which don't >>> support

Re: MSVC support: documentation

2011-09-12 Thread Michael Goffioul
On Mon, Sep 12, 2011 at 12:17 AM, Bruno Haible wrote: > This alone is not terribly useful. Currently while building the POSIX > emulation modules of gnulib I'm encountering ca. 60 compilation errors. > And this is only the compilation errors; the test failures will come > after that. > > If you wa