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 libfortran/24991] [4.1/4.2 Regression] gfortran build fails with - error:gthr-default.h: No such file or directory



------- Comment #30 from andreast at gcc dot gnu dot org  2005-11-25 22:43 -------
does this work for others too? Or do I miss a linux 'feature' ?

Index: io/io.h
===================================================================
--- io/io.h     (revision 107496)
+++ io/io.h     (working copy)
@@ -32,7 +32,8 @@

 #include <setjmp.h>
 #include "libgfortran.h"
-#ifdef HAVE_PRAGMA_WEAK
+#include "tm.h"
+#ifdef GTHREAD_USE_WEAK
 /* Used by gthr.h.  */
 #define SUPPORTS_WEAK 1
 #endif

Testing on sparc-solaris8 and darwin-ppc?


-- 


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


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