-mthreads is correct On 27 Oct 2007, at 21:25, Eric Hughes wrote:
Folks:I've been trying to get a cygwin compile working with gcc 3.4.4. I kept getting linker errors with missing pthreads symbols. I've tracked down one potential source. 'configure' is apparently getting something wrong with pthreads detection. Here's the relevant section of config.log:configure:47947: checking whether pthreads work with -Kthreadconfigure:48081: gcc -o conftest.exe -g -O2 -Kthread -Wl,--as- needed conftest.c -lm >&5gcc: unrecognized option `-Kthread'^M configure:48087: $? = 0 configure:48107: result: yesOK, I don't know how the test works, but that result is obviously wrong, because, in their lingo, "pthreads does not work with - Kthread". Continuing...configure:48117: checking searching for pthread library configure:48145: checking for joinable pthread attributeconfigure:48170: gcc -o conftest.exe -g -O2 -Kthread -Wl,--as- needed conftest.c -L/lib -lpthread -lm >&5gcc: unrecognized option `-Kthread'^M configure:48176: $? = 0 configure:48193: result: PTHREAD_CREATE_JOINABLEWhile I don't know what this result does, it seems wrong to be setting pthreads capabilities where none exist.The correct flag, from what I can tell, and if one is even necessary, which I don't know, should be -mthreads.Eric _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

