Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-03-23 00:44:54

on Fri Mar 23 2007, "Boris Gubenko" <> wrote:

> While we are dealing with HP-UX - specific code in python.jam, can
> you do me a favour and remove 'pthread' on line 602:
> case hpux : return pthread rt ;
> It was me who added 'pthread' in the previous incarnation of python.jam:
> case HPUX :
> {
> extra-libs = pthread rt ;
> }
> and it was a mistake. As stated in
> <>
> the aC++ driver takes care of linking against pthread library when
> appropriate. In the best case, explicit -lpthread is redundant. In
> the worst case, if the program was compiled without -mt, forcing
> pthread to the link is illegal and may lead to runtime error:
> aCC runtime: Use of "-mt" must be consistent during both compilation
> and linking.
> If you could remove this erroneous 'pthread' on line 602, it would be
> great. It is a safe change because it only affects HP-UX platform.

Is GCC available on HPUX and if people use gcc there does the same
logic apply? Or do I need



Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at