Boost-Build schlägt fehl C ++ 11-Funktionsprüfungen bei Verwendung von (benutzerdefiniertem) GCC 4.x oder 5
Ich muss Boost 1.62 und 1.63 auf einem Fedora 24-Computer erstellen, verwende jedoch GCC 4.9.3 oder GCC 5.4.0 (je nach Version CUDA, weshalb ich einen älteren Compiler benötige). Aber wenn ich die benutzerdefinierte GCC-Version wie in @ beschrieben einsteldiese Antwort und Ren
/b2 --toolset=gcc-5.4.0 stage
u meinem Leidwesen sehe ich jetzt:
- 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
d.h. Viele C ++ 11-Features fehlen angeblich, sollten es aber nicht sein. Dies tritt nicht auf, wenn es mit der GCC-Version (6.2.1) der Distribution erstellt wird.
Warum geschieht dies und was muss ich tun, damit der Boost-Build die Funktionen von GCC 5.4.0 (oder 4.9.3) erkennt?