
Eric Niebler wrote:
On 8/3/2010 9:06 PM, Robert Ramey wrote:
Eric Niebler wrote:
I see that the cygwin toolset now expects wchar support, and I've heard that cygwin does indeed support wchar now, but I don't know what I need to do to get it. Simply running the cygwin installer and letting it update everything doesn't seem to do the trick. Help?
Hmmm - that's all I did and it worked fine. I did notice one thing though - it seemed to leave some older version of gcc and libraries on there. Double check that the older ones aren't being invoked with gcc -v
Ah, I had to install the gcc4 package. It installs side-by-side with the earlier gcc package, which is gcc3.
I wonder if it's a good idea for the cygwin toolset to just assume that wchar support is present, when really it's only present if the user has selected gcc4.
I had this problem for the longest time with the serialization library where a large part of the library and tests make no sense without wchar support. I think I managed to fixup the v2 files to skip that part of the build to skip the irrelevent parts by making them dependent on some aspect of config library. Robert Ramey
Just-sayin'-ly,