This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/26588] gfortran -fopenmp passes unrecognised -pthread



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

2006-03-07  David Billinghurst (David.Billinghurst@riotinto.com)

        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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]