This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libstdc++ and missing <wctype.h>
- To: egcs at egcs dot cygnus dot com
- Subject: libstdc++ and missing <wctype.h>
- From: Robert Lipe <robertl at sco dot com>
- Date: Fri, 19 Feb 1999 10:05:18 -0600
A few days ago, libstdc++ stopped building on OpenServer. I finally
got a chance to investigate it.
The problem is that there isn't a file <wctype.h>. (There is one on SVR5
and on the UDK targets.) My copy of Plauger's "Standard C Library"
doesn't say there has to be one, so I think we should be prepared to
deal with its absence.
I can't find evidence of an autoconf-ish mechanism in libstdc++/. Can
anyone advise me how to best address this?
> cstring
> if [ x"no" = xyes ]; then \
> /play/negcs/gcc/xgcc -B/play/negcs/gcc/ -B/usr/local/i686-pc-sco3.2v5.0.5/bin/ -c -g -O2 -fno-implicit-templates -I../../../egcs/libstdc++ -I../../../egcs/libstdc++/stl -I../libio -I../../../egcs/libstdc++/../libio -nostdinc++ -DC \
> `for N in REP MAIN TRAITS ADDSS ADDPS ADDCS ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS GTSP LESS LEPS LESP GESS GEPS GESP; do echo " -D${N}"; done` \
> ../../../egcs/libstdc++/sinst.cc -o pic/cstrmain.o; \
> else true ; fi
> /play/negcs/gcc/xgcc -B/play/negcs/gcc/ -B/usr/local/i686-pc-sco3.2v5.0.5/bin/ -c -g -O2 -fno-implicit-templates -I../../../egcs/libstdc++ -I../../../egcs/libstdc++/stl -I../libio -I../../../egcs/libstdc++/../libio -nostdinc++ -DC `for N in REP MAIN TRAITS ADDSS ADDPS ADDCS ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS GTSP LESS LEPS LESP GESS GEPS GESP; do echo " -D${N}"; done` \
> ../../../egcs/libstdc++/sinst.cc -o cstrmain.o
> In file included from ../../../egcs/libstdc++/std/straits.h:138,
> from ../../../egcs/libstdc++/std/bastring.h:36,
> from ../../../egcs/libstdc++/string:6,
> from ../../../egcs/libstdc++/sinst.cc:36:
> ../../../egcs/libstdc++/cwctype:6: wctype.h: No such file or directory
> make[1]: *** [bigstmp-string] Error 1
> make: *** [all-target-libstdc++] Error 2