|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-03-19 16:24:23
on Mon Mar 19 2007, David Abrahams <dave-AT-boost-consulting.com> wrote:
> on Tue Feb 20 2007, "John Maddock" <john-AT-johnmaddock.co.uk> wrote:
>
>> Some of the regex 1.34 failures on cygwin are caused by cygwin dll builds
>> not being especially reliable :-( The failures are cleared by marking the
>> regex lib as static only on that platform - given that the sporadic problems
>> occur inside the shared std lib, I think this is the only thing to do when
>> using std::locale extensively.
>>
>> I've added:
>>
>> <toolset>gcc-cygwin:<link>static
>>
>> To the regex build requirements, which fixes things locally, but apparently
>> not with the "gcc-cygwin-3.4.4" toolset used for regression testing. Is
>> there any way to mark these up so all gcc-cygwin* toolsets behave the same?
>
> I don't know if it will work, but you could try
>
> <toolset>gcc/<toolset-gcc:flavor>cygwin:<link>static
Oh, also, I should note: I don't really think that says what you
want. IIUC, you want
<toolset>gcc/<target-os>cygwin:<link>static
because the cygwin flavor of GCC can build mingw executables. Whether
or not the above will work, of course, remains in question.
-- Dave Abrahams Boost Consulting www.boost-consulting.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