------- Comment #1 from billingd at gcc dot gnu dot org  2006-03-07 02:22 
-------
I am testing this.

2006-03-07  David Billinghurst ([EMAIL PROTECTED])

        PR target/26588
        * config/i386/cygwin.h (GOMP_SELF_SPECS): Define.


--- cygwin.h~   2006-02-01 14:17:44.000000000 +1100
+++ cygwin.h    2006-03-07 13:08:52.420324700 +1100
@@ -232,3 +232,10 @@
 /* Binutils does not handle weak symbols from dlls correctly.  For now,
    do not use them unnecessarily in gthr-posix.h.  */
 #define GTHREAD_USE_WEAK 0
+
+/* Every program on cygwin links against cygwin.dll which contains 
+   the pthread routines.  There is no need to explicitly link them
+   and the -pthread flag is not recognised.  */
+#undef GOMP_SELF_SPECS
+#define GOMP_SELF_SPECS ""


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26588

Reply via email to