This is the mail archive of the gcc@gcc.gnu.org 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]

RE: libstdc++-v3 does not include wchar_t specializations while build ing gcc 3.2 for Solaris8


> On Thu, Aug 29, 2002 at 03:49:40PM +0200, richard.mouli@axa.be wrote:
> > 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.
> 
> This flag is on by default.  If it becomes disabled, that 
> means that the
> tests performed by the configure script decided your system 
> did not have
> the necessary underlying support for wchar_t.
> 
> You can look in the script's log file, in
> your_build_dir/sparc-sun-solaris2.8/libstdc++-v3/config.log, 
> to see which
> tests failed and why.  (Look for wchar_t and the lines preceeding it.)

Phil,

it seems that all the corresponding wchar functions are missing in the
Solaris 8 default installation:
config.h:/* #undef HAVE_VFWSCANF */
config.h:/* #undef HAVE_VSWSCANF */
config.h:/* #undef HAVE_VWSCANF */
config.h:/* #undef HAVE_WCSTOF */
This is checked in the configure script aroung line 20633.

It implies the ac_wfuncs variable to be set to no and therefore to exclude
wchar_t specializations (around line 20730).

To check the script execution I change the gobang line with:
#! /bin/ksh -x
export PS4="\$LINENO: "

I didn't find any information on how to complete the default installation
with these functions.
Can you provide me with any good (of course :-) advise on how to install gcc
3.2 with support of wchar_t specializations?
Should I install the glibc for Solaris 8?

Thanks

	Richard


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