Boost logo

Boost-Build :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-04-14 17:01:22


Sorry for dropping in and not having read the whole thread.
(The quoting is so terribly nested that I can't see anything)

1) When building the thread lib there is a notion of default API.
   On windows this is win32, pthread else.

2) The default is determined by what bjam thinks is the default
   host. So win32 is the default because it cannot know better.

3) I am already thinking about making use of host-os target,
   but I am afraid this will give no difference without user
   setting it explicitly.

4) You should be able to get what you need however as Anthony
   suggested:

   bjam threadapi=pthread

   This should override the default, but give you some uncommon
   names for the generated lib, i.e. boost_thread_pthread.

5) I have never tested pthread support on cygwin, so your findings
   are welcome.

Regards Roland

-- 
_________________________________________
  _  _  | Roland Schwarz
 |_)(_  | aka. speedsnail
 | \__) | mailto:roland.schwarz_at_[hidden]
________| http://www.blackspace.at

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk