Boost logo

Boost-Build :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-04-22 18:27:29


Vladimir Prus wrote:
> You can use cygwin gcc in both cygwin mode and -mno-cygwin mode. What
> default threading api do you expect for the latter case, and can it be
> inferred in any way from output of -dumpmachine?

The default api possibly should be win32 in the latter case. In
principle it could be infered from -dumpmachine by evaluating
the flavor which would be in that case:
i686_pc_mingw32

I have spent some thought about how to be able to have the compiler
choice influence the default.

My ideas are like so:

1) Make threadapi an optional feature
2) Change the <conditional> requirement to add a threadapi
   only if none specified yet and make it conditioned on
   flavor of compiler.

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