Boost logo

Boost Users :

Subject: Re: [Boost-users] boost-regex: how to compile with mingw?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-16 12:02:22


Matthias Pospiech wrote:

> Steven Watanabe schrieb:
>> AMDG
>>
>> Matthias Pospiech wrote:
>>> Steven Watanabe schrieb:
>>>>>
>>>>> How should it be done?
>>>>
>>>> cd boost_1_40_0
>>>> bootstrap
>>>> bjam toolset=gcc --with-regex
>>> Ok that worked, however it generates no dll, only a .lib file.
>>>
>>> If I want a dll how would that work?
>>
>> bjam toolset=gcc --with-regex link=shared
>>
> That generates a dll for Visual Studio, but with toolset=gcc it still
> only generates a static .lib file and no dll.

This is expected. Boost.Regex forces static build with mingw, because
mingw has known bugs with a shared libraries. See:

        https://svn.boost.org/trac/boost/ticket/3430

for the onging investigation.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net