Boost logo

Boost Users :

Subject: [Boost-users] [bjam] Building Regex with static runtime linking
From: Max (loadcom_at_[hidden])
Date: 2009-06-09 10:15:46


Hello,

I want my program to be statically linked to runtime libs, which is using
Boost.Regex.

I'm using the following command:

bjam --toolset=msvc-9.0 --builddir=./ --address-model=32 --link=static
--runtime-link=static --threading=multi stage --build-type=complete
--with-regex

But I get the following error message:

error: link=shared together with runtime-link=static is not allowed
error: such property combination is either impossible
error: or too dangerious to be of any use

IMO, the option specified by "--link=static " is overlooked by bjam.
What's the problem?

Thanks for any information.

B/Rgds
Max


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