wstring in gcc3.2
Lev Assinovsky
LAssinovsky@algorithm.aelita.com
Fri Mar 7 11:15:00 GMT 2003
Hello Christina!
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/:
file std_cwctype.h:
remove string "using ::iswblank;"
file std_cwchar.h:
remove the following strings:
"using ::vfwscanf;"
"using ::vswscanf;"
"using ::vwscanf;"
"using ::wcstof;"
----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909
> -----Original Message-----
> From: Christina Wang [mailto:cxwang_wt@hotmail.com]
> Sent: Thursday, March 06, 2003 10:35 PM
> To: libstdc++@gcc.gnu.org
> Subject: wstring in gcc3.2
>
>
>
>
> Hi,
>
> 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
> >effect?
> >
> >Thanks for any advice!
> >
> >Christina
> >
> >
> >
> >_________________________________________________________________
> >Tired of spam? Get advanced junk mail protection with MSN 8.
> >http://join.msn.com/?page=features/junkmail
>
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
More information about the Libstdc++
mailing list