Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Match Point
Absolutely. c++config.h which control the definition of _GLIBCXX_USE_WCHAR_T is part of libstdc++. c++config.h locates in a architecture related directory like c++/4.4.0/i686-pc-cygwin/bits. So it must be a dynamically generated file during build process. I found c++config in fresh source code, t

Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Dave Korn
Mark J. Reed wrote: > On Thu, Jun 25, 2009 at 1:10 PM, Match Point >> wstring is not supported on my Cygwin 1.5.25. When I declare 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 eve

Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Mark J. Reed
On Thu, Jun 25, 2009 at 4:26 PM, Corinna Vinschen wrote: > wstring is a C++ class.  It has nothing to do with libc.  wstring is > supported by the G++ standard libs as soon as the underlying libc > (Cygwin/nelib) provides all necessary wide char functions to implement > that class.  That should be

Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Corinna Vinschen
On Jun 25 15:15, Mark J. Reed wrote: > On Thu, Jun 25, 2009 at 1:10 PM, Match Point > > wstring is not supported on my Cygwin 1.5.25. When I  declare 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

Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Match Point
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

Re: How to build gcc to support wchar_t and wstring on Cygwin

2009-06-25 Thread Mark J. Reed
On Thu, Jun 25, 2009 at 1:10 PM, Match Point > wstring is not supported on my Cygwin 1.5.25. When I  declare 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