On 28 June 2011 00:04, eric wrote: > >> You need to configure gcc with --enable-clocale=gnu and reinstall it. >> >> That should be the default on GNU/Linux but apparently your system is >> missing something necessary to support named locales. > > so I do > ./configure --enable-clocale=gnu (You obviously didn't read the installation docs, you're not supposed to run ./configure in the source directory) Did it actually enable the gnu locale model? You might need to check $TARGET/libstdc++-v3/config.log or compare which header files are installed. Noone can tell if you have the GNU locale model installed successfully. Or why don't you just install gcc from Ubuntu's package manager? Surely GCC 4.5 is available?