This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libstdc++-v3 does not include wchar_t specializations while building gcc 3.2 for Solaris8
- From: richard dot mouli at axa dot be
- To: gcc at gcc dot gnu dot org
- Date: Thu, 29 Aug 2002 15:49:40 +0200
- Subject: libstdc++-v3 does not include wchar_t specializations while building gcc 3.2 for Solaris8
Hello,
After spending long time reading the gcc mailing list, I managed to build
gcc for Solaris8 as follow:
- installed compiler is gcc version 2.95.3 20010315 from sunfreeware
- binutils 2.12.1 (Sun ld fails on java stuff and binutil 2.13 fails on
producing correct executables SIGSEGV somewhere in frame registering in
libgcc_s.so)
- gcc 3.2 is configured with ../gcc-3.2/configure
--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --with-gnu-d
--with-gnu-as --enable-libgcj --enable-shared (implies Thread model: posix)
After dealing with these different problems, I still encounter a (at least)
problem: the libstdc++ does not get built with the wchar_t specializations
in. Especially the std::codecvt<wchar_t, char, __mbstate_t> or other
basic_ios<... wchar_t ...> do not get in.
It seems that the flag _GLIBCPP_USE_WCHAR_T is not defined by the configure
script and therefore prevent the corresponding source code to be compiled
in.
Please, what is the best way to get libstdc++ built with the inclusion of
the wchar_t specialization code?
Thanks
--
Richard Mouli (mailto:richard.mouli@axa.be)
AXA Belgium
Applicative Architecture
Tel(Fax): +32 2 678 6778(6281)