------- Comment #2 from julian1844 at yahoo dot com 2009-04-28 07:16 ------- libpthread is needed to link libgomp, otherwise you get unresolved references like c:/mingw/bin/../lib/gcc/mingw32/4.3.0/libgomp.a(parallel.o):(.text+0xe): undefin ed reference to `_imp__pthread_getspecific'. Symbol pthread_getspecific is in libpthread.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39939