Multithreaded gcc on HP-UX 11?
law@redhat.com
law@redhat.com
Thu Jun 6 11:01:00 GMT 2002
In message <044f01c20d83$95564110$0400a8c0@scott>, "Rob Lugt" writes:
> I wish to build a multi-threaded C++ application on HP-UX 11 using g++.
> However, the GCC installation notes [1] say that
>
> "Thread support is not currently implemented for this platform,
> so --enable-threads does not work."
>
> I wonder...
> 1) Is there an existing patch to fix this
> 2) Are there any older versions of GCC that do work on HP-UX 11?
>
> I have tried using GCC 3.0 on this system (I don't know if it included
> special patches - I didn't build it), and my multi-threaded test application
> crashes intermittently, apparently within try/catch processing.
HP changed much of the underlying thread APIs in hpux11 and GCC has
not yet been updated to deal with those changes. I've recently been
given a hunk of code to help with this issue, but I haven't had the
time to look at it at all yet.
jeff
More information about the Gcc-help
mailing list