This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libstdc++-v3 does not include wchar_t specializations while building gcc 3.2 for Solaris8


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
- 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

Please, what is the best way to get libstdc++ built with the inclusion of
the wchar_t specialization code?

Richard Mouli (
AXA Belgium
Applicative Architecture
Tel(Fax): +32 2 678 6778(6281) 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]