Moderator: Andres Valverde
H.G.Muller wrote:The polyglot.exe included in the WinBoard Gold Pack turned out to contain a bug (PV was not printed). For those who already downloaded the Gold Pack, you can replace the polyglot.exe there (in the folder Polyglot15w) by the bug-fixed version here.
(PV was not printed)
I would tryH.G.Muller wrote:I have no idea which versions exactly I have installed, or even how I could see that.
Administrator@fom-rhka8j2a5wy ~
$ bash --version
GNU bash, version 3.2.25(16)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.
Administrator@fom-rhka8j2a5wy ~
$ g++ --version
g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Administrator@fom-rhka8j2a5wy ~
$ ls -l /usr/bin/cygwin1.dll
-rwxrwxrwx 1 Administrator Users 1873811 Jan 31 2007 /usr/bin/cygwin1.dll
Administrator@fom-rhka8j2a5wy ~
$
Michel wrote:It seems that the MSVC2008 runtime does indeed support %lld.
http://msdn.microsoft.com/en-us/library/tcxf1dw6.aspx
I am still wondering what this means. It could mean that the MSVC2008 runtime
has a replacement for printf. But then it would have to be statically linked, for it
to be available on computers that do not have this runtime installed.
Hi Michel,
Eric Mullins has fixed the issue for older MS compilers,
http://www.talkchess.com/forum/viewtopi ... 75&t=22008
The updated sources are on my site.
Best
Michel wrote:So I was wondering it the binary you distributed had the C library statically linked? Otherwise I could not see how a binary produced by MSVC2008 could work correctly on systems which do not have the MSVC2008 C library installed.
H.G.Muller wrote:Michel fixed it for me, by making the format dependent on a compiler switch. I think for Cygwin and Mingw it uses the %I64d.
I might have used an obsolete g++ on my desktop when making the original compile under Cygwin. It was the first time in my life I compiled a C++ program, I was surprised to learn thatI had the compiler installed.
But when I made a small test on my laptop printing a long long and a counting int behind it with the format "%lld %d" there was no problem at all. So perhaps the fix in the source would not have been needed. (It would have been needed for MVC, though.)
I have no idea which versions exactly I have installed, or even how I could see that.
How would MSVCRT get installed on my system? Does that come automatically with Win2k, or with Cygwin?
Return to Winboard and related Topics
Users browsing this forum: Google [Bot] and 36 guests