Stockfish 18 for Windows 98

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Juan P. Naar
Posts: 70
Joined: Fri May 15, 2020 3:55 pm
Full name: Juan Pablo Naar

Stockfish 18 for Windows 98

Post by Juan P. Naar »

Here is a Windows 98 compile (SSE1 and MMX), sources are included, of course.

This was a great guide which made this possible:
https://fanael.github.io/stockfish-on-windows-98.html

To download:
https://mega.nz/file/FJQXSRbK#jI7sY41o1 ... W5ulOzJ6Vk

Build command in Mingw32:

find . -type f -exec touch -r Makefile {} +

make clean

make -j8 build COMP=mingw ARCH=x86-32 \
mmx=yes sse=yes sse2=no ssse3=no sse41=no avx2=no avx512=no \
popcnt=no pext=no prefetch=no \
CXX=i686-w64-mingw32-c++ \
CXXFLAGS="-O2 -pipe -fno-exceptions -fno-rtti \
-march=pentium3 -mtune=pentium3 \
-DWINVER=0x0410 -D_WIN32_WINDOWS=0x0410 -D_WIN32_WINNT=0x0400 \
-I/c/stockfish98/winpthreads98/include" \
LDFLAGS="-L/c/stockfish98/winpthreads98/lib \
-Wl,--whole-archive -lwinpthread -Wl,--no-whole-archive \
-static-libgcc -static-libstdc++"