I am writing an portable application which uses C++11 features like std::atomic, std::threads, etc. How do I verify that my ARM GCC cross compiler toolchain supports the C++11 standard?
I tried using arm-none-linux-gnueabi-g++ -v
and arm-none-linux-gnueabi-g++ --version
but it returned error when using -std=c++11
EDIT # arm-linux-gnueabi-g++ -std=c++11 dum.cpp
cc1plus: error: unrecognized command line option '-std=c++11'
Target: arm-linux-gnueabi
gcc version 4.6.2