Subject: Re: [boost] building boost (regex) in mingw
From: John Maddock (john_at_[hidden])
Date: 2008-12-16 04:53:43
Lorenzo Bettini wrote:
>> I've also tried
>> bjam --build-dir=./tmp --toolset=gcc stage --with-regex
>> but this does not create .a .so files, but only .lib files that I
>> use with mingw compiler...
Oh yes you can use them :-)
For linking to the dll's, just pass the name of the dll on the linker
command line, no need for a .a file at all. For static linking you can
either pass the linker the full name of the .lib file, or else rename it to
a .a extension so you can use -lboost_regex to link.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk