From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29649 invoked by alias); 24 Jul 2008 21:09:38 -0000 Received: (qmail 29636 invoked by uid 22791); 24 Jul 2008 21:09:37 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 24 Jul 2008 21:09:02 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 6B1FD6D4355; Thu, 24 Jul 2008 23:09:32 +0200 (CEST) Date: Thu, 24 Jul 2008 21:09:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [RFC] 1.7 Packaging: Toolchain Message-ID: <20080724210932.GO5251@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <48881261.3080504@users.sourceforge.net> <20080724095249.GH5251@calimero.vinschen.de> <48885F1C.E8C66D3A@dessent.net> <20080724192427.GB7670@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080724192427.GB7670@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2008-07/txt/msg00126.txt.bz2 On Jul 24 15:24, Christopher Faylor wrote: > On Thu, Jul 24, 2008 at 03:53:16AM -0700, Brian Dessent wrote: > >Corinna Vinschen wrote: > > > >> I don't know if that's a problem for std::wstring, but newlib is still > >> missing the wprintf family of functions. > > > >Based on the defintion of GLIBCXX_ENABLE_WCHAR_T in > > > >the list of missing functions before wchar_t can be enabled is: > > > >fgetwc > >fgetws > >fputwc > >fputws > >fwide > >fwprintf > >fwscanf > >getwc > >getwchar > >putwc > >putwchar > >swprintf > >swscanf > >ungetwc > >vfwprintf > >vswprintf > >vwprintf > >wcsftime > >wcstod > >wcstok > >wprintf > >wscanf > > Huh. That list is actually smaller than I would have expected. > > Can't we get all of these from freebsd? Basically, yes, but not quite. At least the put/get functions and the fwide function requires integration into the newlib stdio structures and REENT support. It's not just a simple drop-in job. > How about scrapping newlib in favor of freebsd libraries? I have been > suggesting this for years. Maybe the timing is wrong since we want to > release Cygwin ASAP but it sure would be nice to be in control of 100% > of Cygwin and not have to wander over to newlib whenever we need to make > changes. If we had more man power, maybe. As it is, I see no chance. We also talked about getting the above functions into newlib a few months ago on cygwin-developers. Exactly nada happened so far. As far as I'm concerned I'm glad that there's at least the libc part we only have to marginally care about. Maybe that's something for 1.9. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat