Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-06 09:45:53

"Michael Dunne" <m_p_dunne_at_[hidden]> writes:

> Hi Boosters,
> I'm having difficulty building a "msid" version of Regex++.
> By "msid", I mean multithreaded, static runtime, dynamic link,
> debug. This combination is not actually provided by the default
> makefiles.
> If I modify the makefile I'm using (vc7.mak), I get a .dll produced
> but no associated .lib file as nothing is actually exported from the
> .dll.
> What pre-processor directives do I need to set to generate this
> combination? Or is this something I really shouldn't be doing?
> By the way, this is the released 1.30.2 version of Boost I'm using.

I'd tell you to do:

  bjam -sBUILD="debug <threading>multi <runtime-link>static" dll

But it appears that the dll build of regex is set up to *require*
linking to the dynamic runtime... that might be a clue.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at