Boost logo

Boost :

Subject: Re: [boost] [build] adding a rquirement for Cygwin only?
From: Peter Dimov (lists_at_[hidden])
Date: 2015-03-05 11:37:26

Steven Watanabe wrote:
> The correct <target-os> for Cygwin should be cygwin, not windows. The
> problem is that target-os is not auto-detected and defaults to being the
> same as host-os.

Thanks, but this doesn't solve my problem. What I think you're saying is
that I should pass target-os=cygwin. But I can't do that in my use case,
which is going into a library's test directory and typing


When a test depends on Boost.Thread, it tries to build it, and that fails on

I could split the above into two lines, but it would've been nice for Cygwin
to work out of the box with Boost.Thread. This is why I've been trying to
come up with a way to change Boost.Thread's Jamfile to use
<threadapi>pthread on Cygwin and the default <threadapi> on MinGW.

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