This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: GCC 4.x Solaris locale support...


Well, I have tried all possible --enable-clocale options.

--enable-clocale=ieee_1003.1-2001 failed with multiple errors.  See the
following post for details:

http://gcc.gnu.org/ml/libstdc++/2009-09/msg00091.html

--enable-clocale=darwin failed with this error:

configure: error: Unknown argument to enable/disable clocale

Solaris GCC maintainers, is it a foregone conclusion that the locale
model for libstdc++ will be 'generic', for all versions of GCC from
3.4.x to 4.4.1, on Solaris 8 or newer, and there will be no support for
locales other than C, and POSIX?

If someone out there is experiencing something different then what I'm
reporting, please speak up.

Thanks...

Todd

Speech recognition in use.  It makes mistakes.  I correct the ones I
notice... 


-----Original Message-----
From: Ian Lance Taylor [mailto:iant@google.com] 
Sent: Friday, September 25, 2009 8:38 AM
To: tscheresky
Cc: rittle@labs.mot.com; libstdc++@gcc.gnu.org
Subject: Re: GCC 4.x Solaris locale support...

<tscheresky@micron.com> writes:

> /home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
>
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
> /locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not
declared
> in this scope

This looks like a bug in libstdc++.  _GLIBCXX_NUM_CATEGORIES is
defined for the generic and gnu --enable-clocale options, but not for
the others.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]