Pierre Ynard wrote:
The WinCE platform lacks a few headers, for instance errno.h, locale.h
and signal.h. While the use of errno is so pervasive that you would
rather patch your build environment to support it, the other ones are
generally not a big problem. ...
...
I use the mingw32ce toolchain from the CeGCC project.
The documentation of the Windows runtime libraries, especially of errno [1]
and setlocale [2], gives no indication that these parts of the runtime
library would be missing on Windows CE. Therefore I would assume that the
lack of these facilities is an omission in CeGCC.
In any case, most core GNU packages (including gnulib) assume the existence
of<errno.h>,<locale.h>,<signal.h> since about 2002. You would better
create stubs for these header files in your environment or in CeGCC,
rather than to attempt to patch every GNU program out there.
Bruno
[1] http://msdn.microsoft.com/en-us/library/t3ayayh1(VS.80).aspx
[2] http://msdn.microsoft.com/en-us/library/x99tb11d(VS.80).aspx