I need to create Boost 1.62 and 1.63 on a Fedora 24 machine, but using GCC 4.9.3 or GCC 5.4.0 (depending on the CUDA version, which is the reason that I need an older compiler). But if I configure the custom version of GCC as described in this answer and run
/b2
To my chagrin, now I see:
- 32-bit : no - 64-bit : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes - symlinks supported : yes - C++11 mutex : no - lockfree boost::atomic_flag : yes - Boost.Config Feature Check: cxx11_auto_declarations : no - Boost.Config Feature Check: cxx11_constexpr : no - Boost.Config Feature Check: cxx11_defaulted_functions : no - Boost.Config Feature Check: cxx11_final : yes - 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_rvalue_references : no - Boost.Config Feature Check: cxx11_template_aliases : no - Boost.Config Feature Check: cxx11_thread_local : no - Boost.Config Feature Check: cxx11_variadic_templates : yes
i.e. many C ++ 11 features are supposedly missing, but they shouldn't be. This does not happen when it is created using the GCC version for distribution (6.2.1).
Why is this happening and what do I need to do to create Boost to find out my features in GCC 5.4.0 (or 4.9.3)?
c ++ gcc boost c ++ 11 b2
einpoklum
source share