Page 1 of 1

Help Compiling Stockfish on Windows

Posted: Sun Aug 10, 2014 9:48 pm
by Amos 4ever
Hello, I followed the guide but without success.

Good day to all
I followed this official guide, but I can not find confirmation
(http://support.stockfishchess.org/kb/ad ... iling-stoc...)
First problem:
make is not recognized - gnatmake perhaps command is correct?
Second problem:
i have i7 3930k
digit: gnatmake profile-build ARCH=x86-64-modern COMP=mingw
error:
gnatmake : "profile-build not found

third problem:
PATH variable
C:\MinGW\mingw64\bin;C:\MinGW\msys\1.0\bin
downloaded and unzipped mingw-w64-gcc-4.7.3 and 4.7.2 no folder found (msys\1.0\bin)
Thanks in advance

Re: Help Compiling Stockfish on Windows

Posted: Wed Aug 13, 2014 11:38 am
by Amos 4ever
I have made ​​progress and now I can compile :D
please I can not get AVX compile
i use strings:
mingw32-make -f MakeFile build ARCH=x86-64-bmi COMP=mingw config-sanity
mingw32-make -f MakeFile build ARCH=x86-64-bmi COMP=mingw
mingw32-make MakeFile build ARCH=x86-64-bmi COMP=mingw

and other

add Makefile
ifeq ($(ARCH),x86-64-bmi)
arch = x86_64
bits = 64
prefetch = yes
bsfq = yes
popcnt = yes
sse = yes
pext = yes
endif
is bmi for AVX?