[uClibc]gcc 3.1 building toolchain for 0.9.12 fails when including wchar.h

Manuel Novoa III mjn3 at codepoet.org
Thu Jul 11 01:47:19 UTC 2002


Hello,

On Wed, Jul 10, 2002 at 04:35:47PM -0700, Torrey Hoffman wrote:
> This problem was reported a month ago (June 26) by another user, and
> Erik replied that he was aware of it and working on a solution.
> 
> I don't mean to whine, but... Has a solution or workaround been found?
> 
> Problem summary:
> 
> using the gcc-3.1 toolchain Makefile, for i386, updated to build 0.9.12
> or a recent snapshot instead of 0.9.11 fails during compilation of
> gcc-stage1 when wchar.h gets included.
> 
> #error Attempted to include wchar.h when uClibc built without wide char
> support
> 
> This doesn't happen with 0.9.11 - so that's my workaround for now :-(

The current code in cvs can be built with wide char support without
enabling locale support.  Whether or not that solves your problem, I
can't say as I haven't attempted any toolchain builds.

Manuel



More information about the uClibc mailing list