[Bug libstdc++/21295] Configuring g++ library for various locales ?

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Sat Apr 30 21:24:00 GMT 2005


------- Additional Comments From pcarlini at suse dot de  2005-04-30 21:24 -------
For that kind of GNU x86-linux platform we have, literally, thousands of
succesful reports, everything is supposed to work well out-of-the-box. In 
particular, the GNU locale model, supporting named locales is selected 
automatically, by default.

I can try to help you a bit figuring out what's wrong with your specific
setup but this isn't really our job, here, sorry.

Anyway, are you building GCC? You should do that if you want to double check
that the right (GNU) locale model is actually used. You can check whether
this is the case by ooking at c++locale.h header in your install directory, 
under /include/c++/4.0.0/i686-pc-linux-gnu/bits. Close to the beginning of
the file you should find something like:

#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
namespace __gnu_cxx
{
  extern "C" __typeof(uselocale) __uselocale;
}
#endif

Then, we can actually understand whether the problem begins at GCC configure
and build time.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21295



More information about the Gcc-bugs mailing list