From: Charles W. <cwi...@us...> - 2009-07-15 23:10:46
|
The contents of pthreads-w32-2.8.0-mingw32-dll.tar.gz seem incomplete (and, perhaps, in the wrong directory): $ tar tzf pthreads-w32-2.8.0-mingw32-dll.tar.gz mingw32/include/pthread.h mingw32/include/sched.h mingw32/include/semaphore.h mingw32/lib/libpthread.a So...where is the actual DLL? When I compiled an OPENMP program [*] I first got the 0xc0000005 popup (which means "DLL not found"). So, after downloading the pthreadGC2.dll from ftp://sourceware.org/pub/pthreads-win32/dll-latest/lib/ and installing it into /mingw/bin -- AND making sure that it was marked executable! -- my program started working. So that's good. But... It seems to me that the file currently called "pthreads-w32-2.8.0-mingw32-dll.tar.gz" really should be named "pthreads-w32-2.8.0-mingw32-dev.tar.gz", and that there ought to be a REAL pthreads-w32-2.8.0-mingw32-dll.tar.gz file containing bin/pthreadGC2.dll [*] I *think* these paths ought to be include/pthread.h include/sched.h include/semaphore.h lib/libpthread.a (or, if you want them sequestered in the compiler's private area) lib/gcc/mingw32/4.4.0/include/pthread.h lib/gcc/mingw32/4.4.0/include/sched.h lib/gcc/mingw32/4.4.0/include/semaphore.h lib/gcc/mingw32/4.4.0/libpthread.a but I'm not really sure that's what you want). -- Chuck |