[PATCH] implicit Unicode data tables generation

Corinna Vinschen vinschen@redhat.com
Thu Mar 8 08:07:00 GMT 2018


On Mar  8 00:27, Thomas Wolff wrote:
> This patch adds rules to generate Unicode data tables for
> libc/string/wcwidth, libc/ctype/tow* and libc/ctype/isw* implicitly,
> however, the build process is not yet covered.
> The rules define how the necessary data tables are built,
> but additional dependencies are missing to get the rules actually invoked,
> like:
> (string/Makefile.am)
> wcwidth.c:    $(srcdir)/ambiguous.t $(srcdir)/combining.t $(srcdir)/wide.t
> (ctype/Makefile.am)
> categories.c:   $(srcdir)/categories.t
> towctrans_l.c:  $(srcdir)/caseconv.t
> I tried some variations (like $(srcdir)/wcwidth.c:..., lib_a-wcwidth.o:...,
> and even an additional dummy wcwidth.h) but it did not work;

Look at ctype/Makefile.am, last line:

$(lpfx)ctype_.$(oext): ctype_.c ctype_iso.h ctype_cp.h

This should work for this case here, too.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180308/2ea40759/attachment.sig>


More information about the Newlib mailing list