README 790 B

123456789101112131415161718192021222324252627
  1. The program gen_ctype_from_glibc.c will generate data files which can be
  2. used by uClibc ctype functions to support locales. From the comments:
  3. /*
  4. * Generator locale ctype tables
  5. * You must have already setuped locale for worked libc (libc5 or glibc)
  6. *
  7. * This programm scan /usr/share/locale directories and write
  8. * ./LOCALE/LC_CTYPE files for system with uclibc
  9. *
  10. * Written by Vladimir Oleynik <vodz@usa.net> 2001
  11. * Base on ideas Nickolay Saukh <nms@ussr.EU.net>
  12. *
  13. */
  14. Sample usage to dump all the data files in a tmp directory:
  15. gcc gen_ctype_from_glibc.c -o gen_ctype_from_glibc
  16. mkdir tmp
  17. cd tmp
  18. ../gen_ctype_from_glibc -d /usr/share/locale -c
  19. Then just move the directory or directories you need (not the .c files)
  20. to the uClibc locale file directory you set in Config.