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]

Re: [PATCH] implicit Unicode data tables generation


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

Attachment: signature.asc
Description: PGP signature


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