Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B9EB9CA.20703@ece.gatech.edu> Date: Tue, 11 Sep 2001 21:26:34 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713 X-Accept-Language: en-us MIME-Version: 1.0 To: Herbert CC: cygwin AT cygwin DOT com Subject: Re: Missing wide character functions in libc.a References: <006201c13a52$0627de90$150a0eca AT ewok> <20010910195404 DOT C18481 AT redhat DOT com> <3B9D67E3 DOT 70203 AT ece DOT gatech DOT edu> <008101c13b29$0a0fcc70$150a0eca AT ewok> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Herbert wrote: > Would you know where can I find the source code to fix missing functions > (wcspbrk(), wcschr(), wcsrchr(), wcscoll(), wcsrfxm(), towupper(), > towlower() etc) in /lib/libc.a? I tried to "brower" from GNU's glibc source > (which does not build on Cygwin at moment), but it does not seem to be a > clean and easy cut. Well, on cygwin you don't really use "libc.a". You use libcygwin.a (which is actually an import lib for cygwin1.dll -- but it is cygwin1.dll that contains the "libc" functions, really) It's not surprising that the glibc stuff doesn't work -- cygwin uses newlib's implementations. (Also, as has been previously stated, newlib cannot accept code 'lifted' from glibc for legal reasons). > I also download Cygwin source, but seem to me that these function just > haven't been implemented?! Right. If you want 'em, you're gonna have to write 'em from scratch. Without borrowing from glibc. (And then send in a patch to the newlib folks.) Wasn't this just discussed about two days ago? --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/