It seems only pnacl supports c++11. My toolchain is newlib. When I set -std=gnu++11, it says unrecognized compiler option. How can I build C++11 on newlib?
I choose newlib instead of pnacl due to the reason that glib library cannot be installed on pnacl.
I choose newlib instead of pnacl due to the reason that glib library cannot be installed on pnacl.For C++11 you'll want clang. It could be combined with newlib (and, most likely, glib), although I'm not sure if it's documented anywhere.