Building gcc to support wide-character operations
Dale Peakall
dale.peakall@bit-arts.com
Thu May 16 04:18:00 GMT 2002
GCC: 3.1 20020510 (prerelease).
Any idea how I can compile a version of gcc/libstdc++
that properly supports wchar_t on Solaris8?
i.e. supports wcin, wcout etc.
Just changing c++config.h in the installed distro to
define _GLIBCPP_USE_WCHAR_T gets wcin, wcout etc.
defined but it appears that it's trying to bring
various c-library functions not even mentioned
in the standard (i.e. vfwscanf, wswscanf, vwscanf,
wcstof, iswblank) into the std namespace.
I can't find any of these functions used by libstdc++
(although I may have missed something).
Commenting out these lines in cwtype and cwctype
allows the program to compile, but it won't link
because it appears libstdc++ hasn't compiled a
whole load of support code.
My code certainly doesn't want them. But how do I
get the darn thing compiled to actually support
it?
TIA.
- Dale.
mailto:dale.peakall@bit-arts.com
More information about the Gcc-help
mailing list