Boost logo

Boost Users :

Subject: Re: [Boost-users] boost-regex: how to compile with mingw?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-16 11:06:47


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

> And if I want to compile with Visual Studio (2005, 2008, or 2010) how
> would the comand be then?

Change toolset=gcc to toolset=msvc-8.0, toolset=msvc-9.0, or
toolset=msvc-10.0.
You can also build with multiple toolsets at once.

In Christ,
Steven Watanabe


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