------- Comment #11 from julian1844 at yahoo dot com 2009-05-01 17:26 ------- (In reply to comment #9, comment #10) I did not build MinGW 4.3.0. I got it from the official MinGW site (gcc-4.3.0-20080502-mingw32-alpha). I have also found that on www.equation.com there are even newer versions (binaries), like 4.3.3 with OpenMP 2.5, 4.4.0 with OpenMP 3.0 and MinGW 4.5 compilation snapshot. They seem to work fine with OpenMP. They aren't present on the official MinGW site. Why?
> (In reply to comment #6) > > (In reply to comment #4) > > > Your libpthreads is doing something wrong. > > > Re. comment 5 > > The command was actually > > gcc -fopemnp test.c -lgomp -o test.exe > > > > That command works for me with gcc 4.3.4, 4.4.0 and trunk > In 4.4.0 and trunk, test.exe links against LIBGOMP-1.DLL which in turn > resolves > the pthread imports from PTHREADGCE2.DLL, which is distributed by the > pthreads-win32 project > http://sources.redhat.com/pthreads-win32/ > > My version of 4.3.4 has local mods. I'm not sure if the shared libgomp build > was standard then. > > How did you build gcc-4.3.0? You need to add --enable-libgomp to configure > and ensure that libpthread.a (note spelling) can be found. > > Danny > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39939