WChar and Libstdc++ / Solaris 2.8

Olivier revelat@app-line.com
Thu Oct 2 13:23:00 GMT 2003


We had to use gcc and libstdc++ (with wchar_t support), and reading 
discuss-list / web site we saw that whacr_t should be supported in gcc 
3.2 and later without any modifications.
But, after we had recompile gcc and libstdc++ (bootstrap with cc), we 
still did not have wchar_t support, and we had to apply "patch" found in 
a message (modify 3 scripts before confgure) in order to enable wchar_t 

Just to try (because we can not use gcc 3.3 serie due to external 
profiling tool), with gcc 3.3.1, it is exactly the same thing, 
everything working fine, excepted that wchar_t are not supported.

Is this "problem" will be solved in next release ?

OS : Solaris 2.8 64bits - Sparc
bash-2.03$ uname -a
SunOS MyMachine 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Blade-100

GCC : gcc 3.2.3
bash-2.03$ gcc -v
Lecture des spécification à partir de 
Configuré avec: ../gcc-3.2.3/configure --host=sparc-sun-solaris2.8 
--prefix=/usr/local --libdir=/usr/local/lib 
--with-slibdir=/usr/local/lib --mandir=/usr/local/man 
--infodir=/usr/local/info --enable-shared --enable-threads=posix 
--disable-checking --enable-long-long --enable-languages=c,c++ 
--with-system-zlib --enable-c-mbchar --enable-multilib
Modèle de thread: posix
version gcc 3.2.3

All available patches from Sun installed.

Olivier Revelat

More information about the Libstdc++ mailing list