Hello Giuseppe, > 1) With an uClibc compiled without wchar support I had to include > <stddef.h> in the "wchar.h" file. uClibc defines __GLIBC__ as well, so > the previous guarded inclusion doesn't work. I had to add: > > #ifdef __UCLIBC__ > # include <stddef.h> > #endif
What was the problem exactly? In particular, which error do you get when you run $ gnulib-tool --create-testdir --dir=/tmp/testdir --with-tests --with-c++-tests wchar and then compile the resulting testdir on your uClibc-without-wide-char system? First with "make", then with "make -k". > 2) Even if I have used the `mbtowc' gnulib module, the mbtowc.o object > file wasn't included in the final static library, it was necessary to > tweak manually the Makefile to do so. Never heard of anything like that. The Makefiles generated by gnulib-tool and automake normally don't build .o files that are not needed. I fear that you have to investigate this yourself. Bruno -- In memoriam Henk Drogt <http://www1.yadvashem.org/yv/en/righteous/stories/drogt.asp>
