MinGW or Cygwin for external predicates


I am installing a C++ eclipse toolchain to try out creating an external predicate example on windows.

On windows there are two toolchain / runtime choices MinGW or Cygwin – would either one work to create a DLL that can be loaded by swi prolog on windows? Or is the Cygwin required due to its posix compliance?



The distributed binaries are compiled using MinGw. Overall, this is complicated. It depends on the abi compliance and runtime lib compliance of the involved compilers.