
Ĭygwin-gcc, can also be used to compile source code, which uses the windows api. įor source code, that uses the posix api, the cygwin-gcc compiler can be used, it provides a substantial implementation of the posix api, provided by the cygwin1.dll library. Two options for compiling C and C++, and other kinds of source code files under windows, are : the cygwin-gcc compiler, and the mingw-gcc compiler. Copy some dlls to the installation folder:.cmake -DMINGW_ROOT=/mingw64 -DLIBUUID_INCLUDE_DIR=/usr/local/include -DUUID_LIBRARY=/usr/local/lib/libuuid.a -DBDB_LIBRARY=/mingw64/bin/libdb-6.0.dll -DINSTALL_DOCUMENTATION=OFF -DSWIPL_PACKAGES_X=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -G "MSYS Makefiles".ftp: download libuuid-1.6.2.tar.gz from ftp (dot) ossp (dot) org/pkg/lib/uuid/, configure -prefix=/usr/local, make, make install, ignore the error relating to strip.exe.To supplement MinGW and the deficiencies of the cmd shell.".īuilding SWI-Prolog for MS-Windows under Linux is supported usingĪccording to Matthias Gondan most of the system can be build on Windows Which depend on traditionally UNIX tools to be present. MinGW is distributed as a cross-compiler for many Linux distributionsĪnd can be used under MSYS, "a collection of GNU utilities such asīash, make, gawk and grep to allow building of applications and programs

Including MSVCRT (The MSVC runtime library that provides some POSIX Unlike Cygwin which comes with anĮxtensive POSIX runtime emulation, MinGW targets the native Windows API The MinGW compiler suite is a port of GCC that
