This is a set of scripts and patches to build pthreads-w32 for mingw-w64.
Script is based upon the original mingw32 packaging script (pthreads-w32 does not make use of autotools, which is why, i guess, no one bothered to make mingwPORT for it).
Patches are based upon the pthreads-w32 patches available from mingw-w64 sourceforge archive.
pthreads-w32 built this way passes all tests.
This version is packaged according to mingw32 packaging standard, and libraries are called libpthread-2.dll and libpthread.dll.a , according to library naming convention.
Based upon pthreads-w32 CVS from 2010.11.16
How to use:
Unpack pthreads-w32-2010.11.06-1-mingw64-src.tar.xz somewhere, run pkgbuild
Definitely requires xz, lzma and other MSys stuff. I\'ve used mingw-get to get these
Release notes claims that it depends on gmp, but that does not seem to be true (gmp seems to be unavailable in the automatic mingw-w64 build i\'ve used; this didn\'t interfere with the library building process, but it did prevent me from building testcases until i\'ve hacked tests/GNUmakefile)
Together with the source archive It's bigger than 256k, so i'll just attach the patches and scripts. You can get the source from CVS, or maybe i'll be able to attach the source later.