Subject: Re: [Boost-build] Cygwin static build run from the Windows command line fails
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-02-23 14:00:05
On 23-Feb-16 7:07 PM, Beman Dawes wrote:
> Are you doing this from cygwin shell with cygwin build of b2 or from Windows shell with msvc build of b2, or something else?
> Windows shell with msvc build of b2
Okay, that explains the problem.
> It seems that you actually use Windows shell with cygwin gcc, so when Boost.Build asks gcc where its toolchain is
> installed it reports /usr, and that clearly does not work in Windows shell.
> Could I create user-config.jam entries for ar and ranlib?
Yes, you can have this:
Please check the paths - I am not 100% sure where they are on cygwin. (I've just added these options to reference in git).
> Do you have a particular reason for using cygwin? If you would like to test with gcc, would not mingw make for a
> more convenient option?
> I do have mingw installed, and use it for some testing. But the mingw distributions I've tried do not handle exceptions
> correctly, so my exception handling tests in filesystem and system libraries fail, and that's irritating.
-- 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