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

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Sat Apr 30 21:50:00 GMT 2005


------- Additional Comments From gdr at integrable-solutions dot net  2005-04-30 21:50 -------
Subject: Re:  Configuring g++ library for various locales ?

"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:

| 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.

Paolo -- 

  I understand that bugzilla is not a hotline, but we would not need
to be harsh when users take the time to report what appear to be
problems when using our products -- at least if we want the process to
be useful to both users and us.

  Jean-Paul has been active in C++ standardization efforts and
software business for long time now (he was among the first persons
who introduced me to the French national body and the ISO C++
committee) and I don't think he want us to solve his problem for him. 
Rather, I believe he is reporting something he thinks might be a
fundamental problem with our library.  I believe we do welcome such
reports.  I also understand that the path "the solution" might not be
easy. 

| 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.

Thanks, that suggestion is very muich appreciated.

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list