diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-11-11 13:45:13 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-11-11 13:45:13 +0100 |
commit | bf2eb832bcde4a2e2a99fc35d7bf21d87429c6b9 (patch) | |
tree | 9da42156d27a1e6256b43c197f6ad5e3a11f10b9 /kconfig/option-groups.def-2.9 | |
parent | 100ced1e57e0ad911f96a5fb61a232c167eff13d (diff) | |
download | embtoolkit-bf2eb832bcde4a2e2a99fc35d7bf21d87429c6b9.tar.gz embtoolkit-bf2eb832bcde4a2e2a99fc35d7bf21d87429c6b9.tar.bz2 embtoolkit-bf2eb832bcde4a2e2a99fc35d7bf21d87429c6b9.tar.xz |
Toolchain: eglibc: consolidate eglibc option groups
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'kconfig/option-groups.def-2.9')
-rw-r--r-- | kconfig/option-groups.def-2.9 | 130 |
1 files changed, 125 insertions, 5 deletions
diff --git a/kconfig/option-groups.def-2.9 b/kconfig/option-groups.def-2.9 index 7e10599..960ee55 100644 --- a/kconfig/option-groups.def-2.9 +++ b/kconfig/option-groups.def-2.9 @@ -410,12 +410,24 @@ config OPTION_EGLIBC_LIBM resulting EGLIBC installation. config OPTION_EGLIBC_LOCALES - bool "Locale definitions" - help - This option group includes all locale definitions other than - that for the "C" locale. If this option group is omitted, then - only the "C" locale is supported. + bool "Locale definitions" + help + This option group includes all locale definitions other than + that for the "C" locale. If this option group is omitted, then + only the "C" locale is supported. + + With OPTION_EGLIBC_LOCALE_CODE disabled, the following + functions are omitted from libc: + duplocale localeconv nl_langinfo rpmatch strfmon_l + freelocale newlocale nl_langinfo_l strfmon uselocale + + Furthermore, only the LC_CTYPE and LC_TIME categories of the + standard "C" locale are available. + + The OPTION_EGLIBC_CATGETS option group depends on this option + group; if you disable OPTION_EGLIBC_LOCALE_CODE, you must also + disable OPTION_EGLIBC_CATGETS. config OPTION_EGLIBC_NSSWITCH default y @@ -620,6 +632,114 @@ config OPTION_EGLIBC_WORDEXP performing word expansion in the manner of the shell, and the accompanying 'wordfree' function. +config OPTION_POSIX_C_LANG_WIDE_CHAR + bool "ISO C library wide character functions, excluding I/O" + help + This option group includes the functions defined by the ISO C + standard for working with wide and multibyte characters in + memory. Functions for reading and writing wide and multibyte + characters from and to files call in the + OPTION_POSIX_WIDE_CHAR_DEVICE_IO option group. + + This option group includes the following functions: + + btowc mbsinit wcscspn wcstoll + iswalnum mbsrtowcs wcsftime wcstombs + iswalpha mbstowcs wcslen wcstoul + iswblank mbtowc wcsncat wcstoull + iswcntrl swprintf wcsncmp wcstoumax + iswctype swscanf wcsncpy wcsxfrm + iswdigit towctrans wcspbrk wctob + iswgraph towlower wcsrchr wctomb + iswlower towupper wcsrtombs wctrans + iswprint vswprintf wcsspn wctype + iswpunct vswscanf wcsstr wmemchr + iswspace wcrtomb wcstod wmemcmp + iswupper wcscat wcstof wmemcpy + iswxdigit wcschr wcstoimax wmemmove + mblen wcscmp wcstok wmemset + mbrlen wcscoll wcstol + mbrtowc wcscpy wcstold + +config OPTION_EGLIBC_LOCALE_CODE + bool "Locale functions" + depends on OPTION_POSIX_C_LANG_WIDE_CHAR + help + This option group includes locale support functions, programs, + and libraries. With OPTION_EGLIBC_LOCALE_FUNCTIONS disabled, + EGLIBC supports only the 'C' locale (also known as 'POSIX'), + and ignores the settings of the 'LANG' and 'LC_*' environment + variables. + + With OPTION_EGLIBC_LOCALE_CODE disabled, the following + functions are omitted from libc: + + duplocale localeconv nl_langinfo rpmatch strfmon_l + freelocale newlocale nl_langinfo_l strfmon uselocale + + Furthermore, only the LC_CTYPE and LC_TIME categories of the + standard "C" locale are available. + + The OPTION_EGLIBC_CATGETS option group depends on this option + group; if you disable OPTION_EGLIBC_LOCALE_CODE, you must also + disable OPTION_EGLIBC_CATGETS. + +config OPTION_EGLIBC_CATGETS + bool "Functions for accessing message catalogs" + depends on OPTION_EGLIBC_LOCALE_CODE + help + This option group includes functions for accessing message + catalogs: catopen, catclose, and catgets. + + This option group depends on the OPTION_EGLIBC_LOCALE_CODE + option group; if you disable that, you must also disable this. + +config OPTION_POSIX_WIDE_CHAR_DEVICE_IO + bool "Input and output functions for wide characters" + depends on OPTION_POSIX_C_LANG_WIDE_CHAR + help + This option group includes functions for reading and writing + wide characters to and from <stdio.h> streams. + + This option group includes the following functions: + + fgetwc fwprintf putwchar vwscanf + fgetws fwscanf ungetwc wprintf + fputwc getwc vfwprintf wscanf + fputws getwchar vfwscanf + fwide putwc vwprintf + + This option group further includes the following unlocked + variants of the above functions: + + fgetwc_unlocked getwc_unlocked + fgetws_unlocked getwchar_unlocked + fputwc_unlocked putwc_unlocked + fputws_unlocked putwchar_unlocked + + Note that the GNU standard C++ library, 'libstdc++.so', uses + some of these functions; you will not be able to link or run + C++ programs if you disable this option group. + + This option group also affects the behavior of the following + functions: + + fdopen + fopen + fopen64 + freopen + freopen64 + + These functions all take an OPENTYPE parameter which may + contain a string of the form ",ccs=CHARSET", indicating that + the underlying file uses the character set named CHARSET. + This produces a wide-oriented stream, which is only useful + when the functions included in this option group are present. + If the user attempts to open a file specifying a character set + in the OPENTYPE parameter, and EGLIBC was built with this + option group disabled, the function returns NULL, and sets + errno to EINVAL. + config OPTION_POSIX_REGEXP default y bool "Regular expressions" |