X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <24210422.post@talk.nabble.com> Date: Thu, 25 Jun 2009 13:22:46 -0700 (PDT) From: Match Point To: cygwin AT cygwin DOT com Subject: Re: How to build gcc to support wchar_t and wstring on Cygwin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <24207403 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Do you mean there is no way to fix it at this moment? I just started to work on Cygwin. If Cygwin doesn't use glibc, please tell me if I use g++ to compile my c++ program, what libraries will be used and where are the head files. I saw newlib mentioned many times in the forum. Does it stand for a new lib which supports wstring or it's a name of a library. Where it is? Thank you very much for the response. Qihong Mark J. Reed wrote: >=20 > On Thu, Jun 25, 2009 at 1:10 PM, Match Point >> wstring is not supported on my Cygwin 1.5.25. When I =C2=A0declare a >> wstring variable my g++ 3.4.4 complains wstring is undeclared. After >> reading some posted message I figured out wstring is not supported on >> Cygwin 1.5 or even 1.7. To fix this I have to rebuild entire gcc. >=20 > No, to fix that you have to convince the newlib developers to add > wstring support to newlib. >=20 >> _GLIBCXX_USE_WCHAR_T is still not defined. >=20 > Cygwin does not use glibc. > --=20 > Mark J. Reed >=20 > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/How-to-build-gcc-to-sup= port-wchar_t-and-wstring-on-Cygwin-tp24207403p24210422.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple