Page 2 of 2

Re: Latest Stockfish [developmental] builds

Posted: Mon Oct 28, 2013 8:31 am
by andreio
Okay. Was about to write a howto. :)

A few notes:
- Next time you start MSYS you don't need to run mount.
- Use forward slashes when cd etc., e.g. c:/mingw

Re: Latest Stockfish [developmental] builds

Posted: Mon Oct 28, 2013 9:19 am
by ChessDrone
ThinkingALot wrote:
ChessDrone wrote:

Code: Select all

@ECHO OFF
SET PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
How do I execute this?
Other way is http://kent.dl.sourceforge.net/project/ ... -setup.exe
Doesn't work: can't connect to prdownloads.sourceforge.net/smth.
He is blocked by some antivirus, you must put the file blocked in white list.

Otherwise, there is this x86_64 targeting 64bits (gcc 4.7.4):
http://netcologne.dl.sourceforge.net/pr ... rubenvb.7z
this one with cygwin
http://garr.dl.sourceforge.net/project/ ... nvb.tar.xz

Same but targeting 32bits
http://sf.net/projects/mingw-w64/files/ ... s/rubenvb/

Here is mingw builds link with gcc 4.8.x. You need to select the right package according to your host/target/C++ Exceptions
Host: the architecture on which the toolchain runs.
Target: the architecture on which the executables made by the toolchain will run. Most commonly, Host and Target are the same and the compiler is said to be "native". When Host and Target differ, the compiler is a "cross-compiler".
C++ Exception Model: use SEH when available, SJLJ otherwise and avoid Dwarf2:

SJLJ: slower but available for every architecture.
SEH: fastest but limited to 64-bit because of a patent.
Dwarf2: faster than SJLJ and usually on par with SEH but has known limitations and bugs; avoid unless you're aware of all of them.


GCC Threading Model: Win32 is default while POSIX allows C11 threading but requires to use pthreads for GCC. Unless you rely on the thread feature of C11, this has no impact on the applications built using GCC.
http://mingw-w64.sourceforge.net/downlo ... ngw-builds