Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-05-11 15:50:13

"DY, JERRY U (SBCSI)" <jd2419_at_[hidden]> writes:

> I would like to add options to the compile and link line used for
> building the threads library. I have added as follows but not sure if
> it's the proper place for it. With these changes, I'm able to cleanly
> compile and build the threads shared lib using aC++ 3.55 compiler.
> Credit to the HP aC++ team for their help on hpux.hpp changes.
> boost_1_31_0/tools/build/v1/acc-tools.jam:105
> $(acc.bin-directory)$(CXX) -AA -mt +z -w -c +W823 -I$(BOOST_ROOT)
> S)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
> boost_1_31_0/tools/build/v1/acc-tools.jam:82
> $(acc.bin-directory)$(CXX) $(LINKFLAGS) -AA -mt -b -o "$(<[1])"
> boost_1_31_0/boost/config/platform/hpux.hpp:63

Hi Jerry,

Thanks for the info. I don't think we want to define
BOOST_HAS_PTHREADS unconditionally, because IIRC at least some
versions of HPUX's headers don't contain one or two of the functions
used by Boost.Threads

It's more effective to post a patch as an attachment, so there's no
ambiguity about how mailers have mangled it, and so it can be
automatically applied.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at