Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cygwin static build run from the Windows command line fails
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-02-23 15:12:10


AMDG

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)?

  Anyway, Beman, can you test whether the attached
patch fixes your problem without the need to specify
the paths to ar and ranlib explicitly? I've checked
that it doesn't break gcc on linux, but I don't have
cygwin installed here.

In Christ,
Steven Watanabe




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