README 867 B

1234567891011121314151617181920212223242526272829
  1. The programs gen_ctype_from_glibc.c and gen_collate_from_glibc.c
  2. will generate data files which can be
  3. used by uClibc ctype, strcoll and setlocale functions to support locales.
  4. From the comments:
  5. /*
  6. * Generator locale ctype tables
  7. * You must have already setuped locale for worked libc (libc5 or glibc)
  8. *
  9. * This programm scan /usr/share/locale directories and write
  10. * ./LOCALE/LC_CTYPE files for system with uclibc
  11. *
  12. * Written by Vladimir Oleynik <vodz@usa.net> 2001
  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. gcc gen_collate_from_glibc.c -o gen_ctype_from_glibc
  17. mkdir tmp
  18. cd tmp
  19. ../gen_ctype_from_glibc -d /usr/share/locale -c
  20. ../gen_collate_from_glibc
  21. Then just move the directory or directories you need (not the .c files)
  22. to the uClibc locale file directory you set in Config.