1. Download MinGW from

2. Put C:\opt\MinWG\bin in the path before C:\opt\cygwin\bin

3. Open a windows cmd shell

4. Make sure subversion is installed, and check out the repository

svn co svn+ssh://

5. Now compilation of the main program

make startCompletionServer

will give many errors!! E.g.: MinGW does not support pthreads, no fseeko / ftello, missing regex.h, ...

7. Download the following files (header files + lib) from

libpthreadGCE2.a  (the E stands for exception)

8. Add the following redefinitions to the g++ options + the path where to find the above header files

-Dfeeko=fseek -Dftello=ftell -Duseconds_t=size_t -I.

9. Change the socket includes in CompletionServer.h to

#ifdef __MINGW32__
#include <winsock.h>
#include <netinet/in.h> /* for sockets */
#include <arpa/inet.h>

CompleteSearch: completesearch/MinGW (last edited 2007-10-12 03:51:18 by p54A5E620)