------- Comment #3 from andreast at gcc dot gnu dot org 2006-04-27 22:33
-------
I'll submit the patch tommorow. It has been in my queue for a longer time.
Index: configure.ac
===================================================================
--- configure.ac (revision 113320)
+++ configure.ac (working copy)
@@ -811,6 +811,14 @@
THREADLIBS='-lpthread -lrt'
THREADSPEC='-lpthread -lrt'
;;
+ hppa*-hp-hpux*)
+ THREADCXXFLAGS=-pthread
+ # boehm-gc needs some functions from librt, so link that too.
+ THREADLIBS='-lpthread -lrt'
+ THREADSPEC='-lpthread -lrt'
+ # HPUX needs REENTRANT for the _r calls.
+ AC_DEFINE(_REENTRANT, 1, [Required define if using POSIX threads])
+ ;;
*)
THREADLIBS=-lpthread
THREADSPEC=-lpthread
--
andreast at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |andreast at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-04-27 22:33:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27330