This is the mail archive of the
mailing list for the libstdc++ project.
RE: wstring in gcc3.2
- From: "Lev Assinovsky" <LAssinovsky at algorithm dot aelita dot com>
- To: "Christina Wang" <cxwang_wt at hotmail dot com>,<libstdc++ at gcc dot gnu dot org>
- Date: Fri, 7 Mar 2003 14:15:15 +0300
- Subject: RE: wstring in gcc3.2
I attached part our internal guide of how
to hack 3.2 to get wchar (wstream etc) working on Solaris8.
Hope you will find something usefull in there.
----------------- cut here -------------------------------
3. Follow the steps bellow (to fix wchar support problem):
3.1. In directory <gcc-prefix>/gcc-3.2/libstdc++-v3:
remove all occurrences of the words:
"vfwscanf", "vswscanf", "vwscanf", "wcstof"
from the following files:
acinclude.m4 (1 spot)
aclocal.m4 (1 spot)
configure (6 spots)
3.2 In the directory <gcc-prefix>/gcc-3.2/libstdc++-v3/include/c_std/:
remove string "using ::iswblank;"
remove the following strings:
Aelita Software Corporation
O&S Core Division, Programmer
> -----Original Message-----
> From: Christina Wang [mailto:cxwang_wt at hotmail dot com]
> Sent: Thursday, March 06, 2003 10:35 PM
> To: libstdc++ at gcc dot gnu dot org
> Subject: wstring in gcc3.2
> I posted the following question to gcc-help but nobody
> replied. Does anybody
> on this mailing list have the answer? Thank you!
> >I got some problems with libstdc++ which is bundled with gcc3.2 on
> >Solaris8.It seems that gcc3.2 doesn't fully support wstring
> on solaris. The
> >configuration file of gcc checks some wchar functions that are not
> >supported by the native libc on Solaris 8, then it turns off
> the wchar
> >support. I changed the configuration file to delete the
> excessive wchar
> >function checks. And then I could
> >build gcc3.2 with the wstring support. However, after this
> change, I cannot
> >link my appliction with the static version of libstdc++ using this
> >compiler. The compiler crashed at the linking stage. The
> shared version of
> >libstdc++ still works well. Does anybody know how to enable
> the wchar
> >support for gcc3.2 on Solaris8 without introducing this kind of side
> >Thanks for any advice!
> >Tired of spam? Get advanced junk mail protection with MSN 8.
> Add photos to your messages with MSN 8. Get 2 months FREE*.