RE: Building gcc to support wide-character operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Building gcc to support wide-character operations (on Solaris 8)

Has this issue ever been resolved? I'm trying to build GCC 3.3 on Solaris 8 and
am
running across similar problems. Has anyone found a workaround to get GCC
to support wide-character on Solaris8? The support is obviously there in the OS,
it has the wide-character header files. The OS seems to be missing a few things
such as wcstold but it does have wcstod. The missing wcstold is one of of the
things
that seems to be keeping 'configure' from enabling wide-char support.

If anyone has any help on how to get wide-char to work in GCC 3.x, it would be
greatly appreciated.

Thanks.

Randy


    * From: "Dale Peakall" <dale dot peakall at bit-arts dot com>
    * To: <gcc-help at gcc dot gnu dot org>
    * Date: Thu, 16 May 2002 12:15:07 +0100
    * Subject: Building gcc to support wide-character operations

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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux