This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] implicit Unicode data tables generation


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;
I do not know how to specify an additional target for lib_a-wcwidth.o
(make would say “overriding recipe” and “ignoring old recipe”)
and I have no idea how to fiddle that into Makefile.am anyway,
so if anyone wants to advocate for the implicit approach, please
add that part.

Attachment: 0001-implicit-Unicode-data-tables-generation.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]