This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PING] [PATCH, libstdc++-v3] Add newlib specific ctype_members.cc
- From: Yufeng Zhang <Yufeng dot Zhang at arm dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 19 Oct 2012 18:04:40 +0100
- Subject: Re: [PING] [PATCH, libstdc++-v3] Add newlib specific ctype_members.cc
- References: <4E08B9A0.50301@oracle.com> <4E207A98.7080803@oracle.com> <CAH6eHdQFDzZsjVTYxVV8HD92GUMxcfCsrOG-B8m2Uf_UA4YDCw@mail.gmail.com> <CAH6eHdQXAsk+F0mzQT4A170mYJvK7XddfCPEV857UZX=c1+8ig@mail.gmail.com>
Hi Jonathan,
On 10/18/12 22:16, Jonathan Wakely wrote:
On 3 August 2011 21:32, Jonathan Wakely wrote:
On 15 July 2011 18:36, Paolo Carlini wrote:
On 07/15/2011 07:30 PM, Yufeng Zhang wrote:
There is no more comment received. I wonder if it is OK to get the patch
committed.
What else? I thought you had already committed it ;)
I've just noticed that the manual doesn't document the 'darwin' and
'newlib' C locale models:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html
It would be nice if someone familiar with those models could document
them, otherwise I'll try to get around to it in time for 4.7
The newlib model is still undocumented.
Yufeng, could you prepare a patch against
libstdc++-v3/doc/xml/manual/configure.xml please, or send me a short
description that I can add, similar to the existing ones. Thanks.
Please find the attached patch which documents the 'newlib' option for
the configuration option '--enable-clocale'.
Feel free to improve it.
Thanks,
Yufeng
libstdc++/
2012-10-19 Yufeng Zhang <yufeng.zhang@arm.com>
* doc/xml/manual/configure.xml: Add description of the 'newlib'
option
for '--enable-clocale'.
* doc/html/manual/configure.xml: Re-generate.diff --git a/libstdc++-v3/doc/xml/manual/configure.xml b/libstdc++-v3/doc/xml/manual/configure.xml
index 727d886..be23ca9 100644
--- a/libstdc++-v3/doc/xml/manual/configure.xml
+++ b/libstdc++-v3/doc/xml/manual/configure.xml
@@ -107,15 +107,18 @@
(IEEE Std. 1003.1-2001) model based on langinfo/iconv/catgets,
'gnu' to specify a model based on functionality from the GNU C
library (langinfo/iconv/gettext) (from <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://sources.redhat.com/glibc/">glibc</link>, the GNU C
- library), or 'generic' to use a generic "C"
- abstraction which consists of "C" locale info.
+ library), 'generic' to use a generic "C" abstraction which consists
+ of "C" locale info, or 'newlib' to specify the Newlib C library model
+ which only differentiates from the 'generic' model in the handling of
+ ctype.
</para>
<para>If not explicitly specified, the configure proccess tries
to guess the most suitable package from the choices above. The
default is 'generic'. On glibc-based systems of sufficient
- vintage (2.3 and newer), 'gnu' is automatically selected. This option
- can change the library ABI.
+ vintage (2.3 and newer), 'gnu' is automatically selected. On newlib-based
+ systems (<code>'--with_newlib=yes'</code>), 'newlib' is automatically
+ selected. This option can change the library ABI.
</para>
</listitem></varlistentry>