Steps:

1. Download MinGW from http://www.mingw.org

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

5. svn co svn+ssh://hannah@contact.mpi-sb.mpg.de/KM/ir/SVN/autocompletion

6. make startCompletionServer

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

7. Download the three headers files pthread.h, sched.h, semaphore.h from ftp://sourceware.org/pub/pthreads-win32/dll-latest, and also download the lib (the one with E in the name, E = exception)

8. Compile with -Dfeeko=fseek -Dftello=ftell -Duseconds_t=size_t

9.