From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Wilson To: Herbert Cc: cygwin@cygwin.com Subject: Re: Missing wide character functions in libc.a Date: Tue, 11 Sep 2001 18:26:00 -0000 Message-id: <3B9EB9CA.20703@ece.gatech.edu> References: <006201c13a52$0627de90$150a0eca@ewok> <20010910195404.C18481@redhat.com> <3B9D67E3.70203@ece.gatech.edu> <008101c13b29$0a0fcc70$150a0eca@ewok> X-SW-Source: 2001-09/msg00604.html 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/