Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-04-17 15:56:19


Mat Marcus wrote:
> For example, why is it necessary to view cygwin as an OS in the boost
> thread jamfile?

In general BB, and Boost in general afaik, views Cygwin as an OS.
Because it is emulating Unix on Windows. Hence earlier comments about
how this could be considered a cross-compiler situation.

> That is, why isn't it possible to determine default
> choices for threadapi by dispatching on the toolset perhaps together
> with something like the <toolset-gcc:flavor> property?

Yes, that is the solution I was going to implement. Adding a flavor for
cygwin is easy enough... But auto-detecting may not be. Help on figuring
out a way to tell that the particular g++ is a cygwin flavor is
appreciated. (Especially since I don't have cygwin)

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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