Hi Szabolcs, In the top level gcc config.log, I see:
configure:5541: checking whether aarch64-none-linux-gnu-g++ supports C++11 features by default configure:5837: aarch64-none-linux-gnu-g++ -c -g -O2 conftest.cpp >&5 configure:5837: $? = 0 configure:5844: result: yes configure:6542: checking whether g++ supports C++11 features by default configure:6845: result: yes Not sure whether that helps? Regards Vasee On 20/08/2020, 16:26, "Szabolcs Nagy" <szabolcs.n...@arm.com> wrote: The 08/20/2020 13:59, Vasee Vinayagamoorthy wrote: > +# Also require C++11 for building code generation tools. > +# Do nothing if "${build}" = "${host}", because in this case > +# CXX_FOR_BUILD="\$(CXX)", and $CXX is already set to the correct value above. > +if test "${build}" != "${host}"; then > + saved_CXX=$CXX > + saved_CXXCPP=$CXXCPP > + CXX=$CXX_FOR_BUILD > + CXXCPP= > + AX_CXX_COMPILE_STDCXX(11) > + CXX="$CXX -std=c++11" > + CXX_FOR_BUILD=$CXX > + CXX=$saved_CXX > + CXXCPP=$saved_CXXCPP > +fi i think AX_CXX_COMPILE_STDCXX(11) should set CXX correctly (it seems it would set it to "g++ -std=gnu++11" instead of "g++ -std=c++11" but either should work) please look at the top level config.log i think you should look for "checking whether g++ supports C++11 features with -std=gnu++11" and that check should be successful.