|
Boost-Build : |
Subject: [Boost-build] What is the difference between link=static and runtime-link=static
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2016-01-04 13:03:20
Hi
I'm trying to determine if I need runtime-link=static when building the test suite?
What runtime-link do exactly?
It seems the link=static is selectively overridden, but not runtime-link=static?
I'm targeting VxWorks 7 which doesn't support shared libraries universally on all processors yet, so I've been focusing on static, so I can build shared libraries, they just might not work.
Happy new year,
Brian Kuhl
Manager, Technical Content Engineering
Wind River
make[4]: Entering directory '/opt/vx7/workspace/VsbSim/usr/src/BOOST/boost_1_59_0'
source ./vxworks_env.sh && cd status && set testing.execute off && \
../b2 -j4 --prefix=/opt/vx7/workspace/VsbSim/usr/root --libdir=/opt/vx7/workspace/VsbSim/usr/lib/common --includedir=/opt/vx7/workspace/VsbSim/usr/h/public \
link=static runtime-link=static toolset=gcc-vxworks target-os=vxworks \
--with-test
Performing configuration checks
- 32-bit : yes (cached)
- arm : no (cached)
- mips1 : no (cached)
- power : no (cached)
- sparc : no (cached)
- x86 : yes (cached)
- symlinks supported : yes
- has_icu builds : no
- lockfree boost::atomic_flag : no
- has_atomic_lib builds : no
- has_pthread_lib builds : no
- has_rt_lib builds : no
- Clang implicit fallthrough : no
- Boost.Config Feature Check: int128 : no
- Boost.Config Feature Check: cxx11_constexpr : no
- Boost.Config Feature Check: cxx11_user_defined_literals : no
- Boost.Config Feature Check: cxx11_constexpr : no
- Boost.Config Feature Check: cxx11_decltype : no
- Boost.Config Feature Check: cxx11_deleted_functions : no
- Boost.Config Feature Check: cxx11_explicit_conversion_operators : no
- Boost.Config Feature Check: cxx11_hdr_tuple : no
- Boost.Config Feature Check: cxx11_lambdas : no
- Boost.Config Feature Check: cxx11_noexcept : no
- Boost.Config Feature Check: cxx11_nullptr : no
- Boost.Config Feature Check: cxx11_template_aliases : no
- Boost.Config Feature Check: cxx11_rvalue_references : no
- Boost.Config Feature Check: cxx11_variadic_macros : no
- Boost.Config Feature Check: cxx11_variadic_templates : no
- Boost.Config Feature Check: cxx14_initialized_lambda_captures : no
- Boost.Config Feature Check: cxx11_decltype : no
- Boost.Config Feature Check: cxx11_deleted_functions : no
- Boost.Config Feature Check: cxx11_explicit_conversion_operators : no
- Boost.Config Feature Check: cxx11_hdr_tuple : no
- Boost.Config Feature Check: cxx11_lambdas : no
- Boost.Config Feature Check: cxx11_noexcept : no
- Boost.Config Feature Check: cxx11_nullptr : no
- Boost.Config Feature Check: cxx11_template_aliases : no
- Boost.Config Feature Check: cxx11_rvalue_references : no
- Boost.Config Feature Check: cxx11_variadic_macros : no
- Boost.Config Feature Check: cxx11_variadic_templates : no
- Boost.Config Feature Check: cxx14_initialized_lambda_captures : no
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
vxworks.mak:179: recipe for target 'boost_build' failed
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk