Tom Kent wrote:
B2 fails immediately (showstopper!!!) on windows for all tested visual studio compilers (8.0-14.1) when running with --build-type=complete, such as:
b2 -j%NUMBER_OF_PROCESSORS% --without-mpi --build-type=complete toolset=msvc-8.0 address-model=32 architecture=x86 --prefix=.\ --libdir=lib32-msvc-8.0 --includedir=garbage_headers install
with the error:
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
Confirmed, minimal repro is
b2 --with-stacktrace --build-type=complete stage
Patch: diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 0e9720a..12c0edb 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -11,8 +11,8 @@ project <target-os>linux:<cxxflags>"-fvisibility=hidden" ; -lib dl : : <link>shared ; -lib gcc_s : : <link>shared ; +lib dl : : <link>shared <runtime-link>shared ; +lib gcc_s : : <link>shared <runtime-link>shared ; lib Dbgeng ; lib ole32 ;