Subject: Re: [Boost-build] Cygwin static build run from the Windows command line fails
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-02-24 02:35:50
On 23-Feb-16 11:12 PM, Steven Watanabe wrote:
> On 02/23/2016 12:11 PM, Vladimir Prus wrote:
>> On 23-Feb-16 7:39 PM, Steven Watanabe wrote:
>>> If we check both paths, can they both exist
>>> and cause us to choose the wrong one?
>>> Would $(flavor) != mingw && [ os.name ] == NT
>>> be a correct test?
>> I think that would be a right test (though I still would like to
>> eliminate flavour and
>> switch to using target-os instead).
> I'm not sure that target-os is correct in this case.
> Is it possible to build gcc on cygwin to cross-compile
> to linux (for example)?
Yes, it's possible in theory and yes, target-os is not correct. We'd need
to actually look at host-os of the compiler.
-- Vladimir Prus http://vladimirprus.com
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