Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost build in Cygwin 1_36_0 vs 1_38_0 msvc dll build wierdness
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-03-28 03:48:49


On Saturday 28 March 2009 00:36:43 Brian Davis wrote:
> On Fri, Mar 27, 2009 at 3:38 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
>
> > AMDG
> >
> > Brian Davis wrote:
> >
> >> On Fri, Mar 27, 2009 at 10:52 AM, Steven Watanabe <watanabesj_at_[hidden]
> >> >wrote:
> >>
> >>
> >>> Does it work with toolset=msvc target-os=windows?
> >>> I believe that this has been fixed in the trunk:
> >>> https://svn.boost.org/trac/boost/changeset/51241
> >>>
> >>>
> >>
> >> bjam -d+2 toolset=msvc os=windows
> >> <snip>
> >>
> >> Notice error by bjam of:
> >>
> >> error: "windows" is not a known value of feature <os>
> >> error: legal values: "CYGWIN"
> >>
> >>
> >
> > target-os, not os
> >
>
> Whops... changed to use target-os=windows and that worked. Thank you I can
> now use 1.38.0. I did not think to use this as it worked in 1.36.0. Why
> would this not be a default for msvc? Does msvc work on a mac or any other
> platform?

The default value of target-os depends on what OS you have build bjam for.
Cygwin and Windows are essentially different operating systems that happen
to use the same kernel, and mixing two radically different operating systems
is going to cause problems like this.

- Volodya


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