http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57421
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- I already did, that's the code I posted! The only switches needed are -std=c++11 -static-libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57421
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- I already did, that's the code I posted! The only switches needed are -std=c++11 -static-libstdc++