we have provided a win32 build of the modified cgminer, you can find it here:
http://www.mediterraneancoin.org/downloads/win32-cgminer-mediterraneancoin.zipalso, here is a complete tutorial for doing a win32 cgminer build on a fresh Ubuntu 12.04 64bit, following the instructions found here:
https://github.com/ckolivas/cgminer/blob/master/windows-build.txtmkdir win32
cd win32
git clone
https://github.com/mrtexaznl/cgminersudo apt-get install mingw32 unzip
mkdir -p cgminer-win32-deps/lib
cd cgminer-win32-deps/
mkdir include
mkdir bin
wget
http://internode.dl.sourceforge.net/project/pdcurses/pdcurses/3.4/pdc34dllw.zipunzip pdc34dllw.zip
mv *.h include/
mv pdcurses.lib lib/
mv pdcurses.dll bin/
wget -O lib/libpthread.a
http://ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/lib/libpthreadGC2.awget -O include/pthread.h
http://ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/include/pthread.hwget -O include/sched.h
http://ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/include/sched.hwget -O include/semaphore.h
http://ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/include/semaphore.hwget -O lib/libpthread.a
http://ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/lib/libpthreadGC2.awget -O bin/pthreadGC2.dll
http://ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-8-0-release/lib/pthreadGC2.dllwget
http://curl.haxx.se/gknw.net/7.33.0/dist-w32/curl-7.33.0-devel-mingw32.zipunzip curl-7.33.0-devel-mingw32.zip
mv curl-7.33.0-devel-mingw32/include/* include/
mv curl-7.33.0-devel-mingw32/lib/* lib/
mv curl-7.33.0-devel-mingw32/bin/* bin/
rm -rf curl-7.33.0-devel-mingw32
rm *.zip
cd ..
cd cgminer
mkdir build-win32
cd build-win32
wget
http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3_7.27.0-1ubuntu1.7_amd64.debwget
http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-openssl-dev_7.27.0-1ubuntu1.7_amd64.debsudo dpkg -i libcurl3_7.27.0-1ubuntu1.7_amd64.deb
sudo dpkg -i libcurl4-openssl-dev_7.27.0-1ubuntu1.7_amd64.deb
CPPFLAGS="-I`pwd`/../../cgminer-win32-deps/include" LDFLAGS="-L`pwd`/../../cgminer-win32-deps/lib -lcurldll" ../autogen.sh --prefix=/usr/local/i586-mingw32 --host=i586-mingw32msvc --build=i686-linux --enable-avalon --enable-bflsc --enable-bitforce --enable-bitfury --enable-hashfast --enable-icarus --enable-bab --enable-klondike --enable-modminer
make
mkdir ../../build-win32
cp cgminer.exe ../../build-win32/
cd ../..
cp ../cgminer-win32-deps/bin/*.dll .
ls -l
-rwxrwxr-x 1 test test 1844497 Jan 2 16:47 cgminer.exe
-rw-rw-r-- 1 test test 622592 Jan 2 16:47 libcurl.dll
-rw-rw-r-- 1 test test 1704448 Jan 2 16:47 libeay32.dll
-rw-rw-r-- 1 test test 279955 Jan 2 16:47 libidn-11.dll
-rw-rw-r-- 1 test test 183382 Jan 2 16:47 librtmp.dll
-rw-rw-r-- 1 test test 171008 Jan 2 16:47 libssh2.dll
-rw------- 1 test test 118784 Jan 2 16:47 pdcurses.dll
-rw-rw-r-- 1 test test 60273 Jan 2 16:47 pthreadGC2.dll
-rw-rw-r-- 1 test test 364544 Jan 2 16:47 ssleay32.dll
-rw-rw-r-- 1 test test 113166 Jan 2 16:47 zlib1.dll