on 13/09/2010 12:38 Andriy Gapon said the following:
> To better see what I mean do:
> $ gcc -dumpspecs | fgrep -w pthread
> and
> $ gcc44 -dumpspecs | fgrep -w pthread

BTW, here is a patch for GCC that should make life easier.
I hope that Gerald will commit it either upstream or in ports.


-- 
Andriy Gapon
--- gcc/config/freebsd-spec.h.orig      2010-09-13 14:35:06.151574339 +0300
+++ gcc/config/freebsd-spec.h   2010-09-13 14:35:08.171465130 +0300
@@ -139,6 +139,9 @@
   %{!shared:                                                           \
     %{!pg: %{pthread:-lpthread} -lc}                                   \
     %{pg:  %{pthread:-lpthread_p} -lc_p}                               \
+  }                                                                    \
+  %{shared:                                                            \
+    %{pthread:-lpthread} -lc                                           \
   }"
 #endif
 #endif
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to