Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-08-22 12:19:28


Jens Steinhauser wrote:
> Hi,
>
> I was surprised to see that Boost.Regex doesn't compile to a shared
> library when using MinGW. The following lines in
> lib/regex/build/Jamfile.v2 prevent it:
>
> <toolset>gcc-mw:<link>static
> <toolset>gcc-mingw:<link>static
> <toolset>gcc-cygwin:<link>static
>
> After commenting them out, the library builds as a Dll.
>
> I searched for a reason for these 3 lines, but couldn't find anything.
> Does anyone on this list know why they are there? The program I'm
> porting to windows works fine with the Dlls build with MinGW.

If it works then great, but I've had problems in the past with segfaults
when using the dll version on Mingwin/Cygwin: something to do with the way
gcc implements symbol sharing on Win32 screws things up :-(

John.


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