From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 18:58:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C3801065670 for ; Wed, 30 Apr 2008 18:58:57 +0000 (UTC) (envelope-from sashi@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 893A88FC21 for ; Wed, 30 Apr 2008 18:58:56 +0000 (UTC) (envelope-from sashi@gmx.de) Received: (qmail invoked by alias); 30 Apr 2008 18:58:54 -0000 Received: from e180197194.adsl.alicedsl.de (EHLO [49.1.1.104]) [85.180.197.194] by mail.gmx.net (mp042) with SMTP; 30 Apr 2008 20:58:54 +0200 X-Authenticated: #546547 X-Provags-ID: V01U2FsdGVkX19H7edopbJHQVhniNqdiuz9gOMogHVHcie82X3hqe aIsCAaFnYBo+s8 Message-ID: <4818C23C.1000707@gmx.de> Date: Wed, 30 Apr 2008 21:02:20 +0200 From: Sashi Asokarajan User-Agent: Thunderbird 2.0.0.9 (X11/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48144B2D.7000300@gmx.de> In-Reply-To: <48144B2D.7000300@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: libstdc++ localization aborts with an exception X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 18:58:57 -0000 Marian Asokarajan wrote: > And probably the "darwin" (or "generic") model is used, instead of "gnu" > (s.a. line 5801 in file /usr/src/contrib/libstdc++/configure). > If it is so, why doesn't the "gnu" model apply to FreeBSD ? I posted the same question to the libstdc++ mailing list and benjamin kindly answered my question and he suggested the following: BK> It looks like it has something to do with ctype, and nothing to do with BK> named locales. BK> Named locales only work on GNU systems, or with systems that implement BK> the new POSIX locale model (newlocale/duplocale/strcoll_l, etc). From BK> what I understand, neither FreeBSD 7 nor Darwin meet these requirements. So, is his suggestion right ? -- Sashi Asokarajan