📄 config.in
字号:
bool "Enable '/etc/TZ' file support to set a default timezone (uClibc-specific)" default y help Answer Y to enable the setting of a default timezone for uClibc. Ordinarily, uClibc gets the timezone information exclusively from the 'TZ' environment variable. In particular, there is no support for the zoneinfo directory tree or the /etc/timezone file used by glibc. With this option enabled, uClibc will use the value stored in the file '/etc/TZ' (default path) to obtain timezone information if the 'TZ' environment variable is missing or has an invalid value. The file consists of a single line (newline required) of text describing the timezone in the format specified for the TZ environment variable. Simply doing 'echo CST6CDT > /etc/TZ' is enough to create a valid file. See http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html for details on valid settings of 'TZ'. Most people will answer Y.config UCLIBC_HAS_TZ_FILE_READ_MANY bool "Repeatedly read the '/etc/TZ' file" depends on UCLIBC_HAS_TZ_FILE default y help Answer Y to enable repeated reading of the '/etc/TZ' file even after a valid value has been read. This incurs the overhead of an open/read/close for each tzset() call (explicit or implied). However, setting this will allows applications to update their timezone information if the contents of the file change. Most people will answer Y.config UCLIBC_TZ_FILE_PATH string "Path to the 'TZ' file for setting the global timezone" depends on UCLIBC_HAS_TZ_FILE default "/etc/TZ" help This is the path to the 'TZ' file. Most people will use the default of '/etc/TZ'.endmenumenu "Advanced Library Settings"config UCLIBC_PWD_BUFFER_SIZE int "Buffer size for getpwnam() and friends" default 256 help This sets the value of the buffer size for getpwnam() and friends. By default, this is 256. (For reference, glibc uses 1024). The value can be found using sysconf() with the _SC_GETPW_R_SIZE_MAX parameter.config UCLIBC_GRP_BUFFER_SIZE int "Buffer size for getgrnam() and friends" default 256 help This sets the value of the buffer size for getgrnam() and friends. By default, this is 256. (For reference, glibc uses 1024). The value can be found using sysconf() with the _SC_GETGR_R_SIZE_MAX parameter.endmenumenu "Networking Support"config UCLIBC_HAS_IPV6 bool "IP version 6 Support" default n help If you want to include support for the next version of the Internet Protocol (IP version 6) then answer Y. Most people should answer N.config UCLIBC_HAS_RPC bool "Remote Procedure Call (RPC) support" default n help If you want to include RPC support, enable this. RPC is rarely used for anything except for the NFS filesystem. Unless you plan to use NFS, you can probably leave this set to N and save some space. If you need to use NFS then you should answer Y.config UCLIBC_HAS_FULL_RPC bool "Full RPC support" depends on UCLIBC_HAS_RPC default y if !HAVE_SHARED help Normally we enable just enough RPC support for things like rshd and nfs mounts to work. If you find you need the rest of the RPC stuff, then enable this option. Most people can safely answer N.endmenumenu "String and Stdio Support"config UCLIBC_HAS_STRING_GENERIC_OPT bool "Use glibc generic string functions" default y help Answer Y to use the (tweaked) glibc generic string functions. In general, they are faster (but 3-5K larger) than the base uClibc string functions which are optimized solely for size. Many people will answer Y. config UCLIBC_HAS_STRING_ARCH_OPT bool "Use arch-specific string functions" default y help Answer Y to use the arch-specific string functions instead of the base uClibc versions, which are optimized exclusively for size. Most people will answer Y, as this has been default behavior for some time.config UCLIBC_HAS_CTYPE_TABLES bool "Use Table Versions Of 'ctype.h' Functions." default y help Answer Y to use table versions of the 'ctype.h' functions. While the non-table versions are often smaller when building staticly linked apps, they work only in stub locale mode. Most people will answer Y.config UCLIBC_HAS_CTYPE_SIGNED bool "Support Signed Characters In 'ctype.h' Functions." depends UCLIBC_HAS_CTYPE_TABLES default y help Answer Y to enable support for passing signed char values to the 'ctype.h' functions. ANSI/ISO C99 and SUSv3 specify that these functions are only defined for unsigned char values and EOF. However, glibc allows negative signed char values as well in order to support 'broken old programs'. Most people will answer Y.choice prompt "ctype argument checking" depends UCLIBC_HAS_CTYPE_TABLES default UCLIBC_HAS_CTYPE_UNSAFE help Please select the invalid arg behavior you want for the 'ctype' functions. The 'ctype' functions are now implemented using table lookups, with the arg being the index. This can result in incorrect memory accesses or even segfaults for args outside of the allowed range. NOTE: This only affects the 'ctype' _functions_. It does not affect the macro implementations.config UCLIBC_HAS_CTYPE_UNSAFE bool "Do not check -- unsafe"config UCLIBC_HAS_CTYPE_CHECKED bool "Detect and handle appropriately"config UCLIBC_HAS_CTYPE_ENFORCED bool "Issue a diagnostic and abort()"endchoiceconfig UCLIBC_HAS_WCHAR bool "Wide Character Support" default n help Answer Y to enable wide character support. This will make uClibc much larger. It is also currently required for locale support. Most people will answer N.config UCLIBC_HAS_LOCALE bool "Locale Support" select UCLIBC_HAS_WCHAR select UCLIBC_HAS_CTYPE_TABLES default n help uClibc now has full ANSI/ISO C99 locale support (except for wcsftime() and collating items in regex). Be aware that enabling this option will make uClibc much larger. Enabling UCLIBC_HAS_LOCALE with the default set of supported locales (169 UTF-8 locales, and 144 locales for other codesets) will enlarge uClibc by around 300k. You can reduce this size by building your own custom set of locate data (see extra/locale/LOCALES for details). uClibc's locale support is still under development. For example, codesets using shift states are not currently supported. Support is planned in the next iteration of locale support. Answer Y to enable locale support. Most people will answer N.config UCLIBC_PREGENERATED_LOCALE_DATA bool "Use Pre-generated Locale Data" depends on UCLIBC_HAS_LOCALE default n help If you are selective and only want locale data for a few particular locales, or you enjoy pain, or you are a rabid do-it-yourself sort of person, you can turn this option off and manually walk through the mostly undocumented procedure needed to generate your own locale data. Mere mortals will answer Y and use the default set of pregenerated locale data, which supports 169 UTF-8 locales, and 144 locales for other codesets (for the complete list see extra/locale/LOCALES).config UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA bool "Automagically Download the Pre-generated Locale Data (if necessary)" depends on UCLIBC_PREGENERATED_LOCALE_DATA default n help If you would like the build process to use 'wget' to automatically download the pregenerated locale data, enable this option. Otherwise you will need to obtain the locale data yourself from: http://www.uclibc.org/downloads/uClibc-locale-030818.tgz and place the uClibc-locale-030818.tgz tarball in the extra/locale/ directory. Go ahead and make life easy for yourself... Answer Y.config UCLIBC_HAS_XLOCALE bool "Extended Locale Support (experimental/incomplete)" depends on UCLIBC_HAS_LOCALE default n help Answer Y to enable extended locale support similar to that provided by glibc. This is primarily intended to support libstd++ functionality. However, it also allows thread-specific locale selection via uselocale(). Most people will answer N.config UCLIBC_HAS_HEXADECIMAL_FLOATS bool "Support hexadecimal float notation" depends UCLIBC_HAS_CTYPE_TABLES depends on UCLIBC_HAS_FLOATS default n help Answer Y to enable support for hexadecimal float notation in the (wchar and) char string to floating point conversion functions, as well as support for the %a and %A conversion specifiers in the *printf() and *scanf() functions. Most people will answer N.config UCLIBC_HAS_GLIBC_DIGIT_GROUPING bool "Support glibc's \"'\" flag for allowing locale-specific digit grouping" depends on UCLIBC_HAS_LOCALE depends on UCLIBC_HAS_FLOATS default n help Answer Y to enable support for glibc's \"'\" flag for allowing locale-specific digit grouping in base 10 integer conversions and appropriate floating point conversions in the *printf() and *scanf() functions. Most people will answer N.config UCLIBC_HAS_SCANF_LENIENT_DIGIT_GROUPING bool "Do not require digit grouping when the \"'\" flag is specified" depends on UCLIBC_HAS_GLIBC_DIGIT_GROUPING default y help Answer Y to make digit grouping optional when the \"'\" flag is specified. This is the standard glibc behavior. If the initial string of digits exceeds the maximum group number, the input will be treated as a normal non-grouped number. Most people will answer N.config UCLIBC_HAS_GLIBC_CUSTOM_PRINTF bool "Support glibc's register_printf_function() (glibc-compat)" depends on !USE_OLD_VFPRINTF default n help Answer Y to support glibc's register_printf_function() to allow an application to add its own printf conversion specifiers. NOTE: This implementation limits the number or registered specifiers to 10. NOTE: This implementation requires new conversion specifiers to be ASCII characters (0-0x7f). This is to avoid problems with processing format strings in locales with different multibyte conversions. Most people will answer N.config USE_OLD_VFPRINTF bool "Use the old vfprintf implementation" depends on !UCLIBC_HAS_WCHAR default n help Set to true to use the old vfprintf instead of the new. This is roughly C89 compliant with some extensions, and is much smaller. However, it does not support wide chars, positional args, or glibc custom printf specifiers. Most people will answer N.config UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS int "Maximum number of positional args. Either 0 or >= 9." depends on !USE_OLD_VFPRINTF default 9 help Set the maximum number of positional args supported by the printf/scanf functions. The Single Unix Specification Version 3 requires a minimum value of 9. Setting this to a value lower than 9 will disable positional arg support and cause the NL_ARGMAX macro in limits.h to be #undef'd. WARNING! The workspace to support positional args is currently allocated on the stack. You probably don't want to set this to too high a value. Most people will answer 9.config UCLIBC_HAS_SCANF_GLIBC_A_FLAG bool "Support glibc's 'a' flag for scanf string conversions" default n help NOTE!!! Currently Not Implemented!!! Just A Place Holder!! NOTE!!! Answer Y to enable support for glibc's 'a' flag for the scanf string conversions '%s', '%[', '%ls', '%l[', and '%S'. This is used to auto-allocate sufficient memory to hold the data retrieved. Most people will answer N.choice prompt "Stdio buffer size" default UCLIBC_HAS_STDIO_BUFSIZ_4096 help Please select a value for BUFSIZ. This will be used by the stdio subsystem as the default buffer size for a file, and affects fopen(), setvbuf(), etc. NOTE: Setting this to 'none' will disable buffering completely. However, BUFSIZ will still be defined in stdio.h as 256 because many applications use this value.config UCLIBC_HAS_STDIO_BUFSIZ_NONE bool "none (WARNING - BUFSIZ will be 256 in stdio.h)" depends !UCLIBC_HAS_WCHARconfig UCLIBC_HAS_STDIO_BUFSIZ_256 bool "256 (minimum ANSI/ISO C99 value)"config UCLIBC_HAS_STDIO_BUFSIZ_512 bool "512"config UCLIBC_HAS_STDIO_BUFSIZ_1024 bool "1024"config UCLIBC_HAS_STDIO_BUFSIZ_2048 bool "2048"config UCLIBC_HAS_STDIO_BUFSIZ_4096 bool "4096"config UCLIBC_HAS_STDIO_BUFSIZ_8192 bool "8192"# If you add more choices, you will need to update uClibc_stdio.h.endchoicechoice prompt "Stdio builtin buffer size (uClibc-specific)" depends !UCLIBC_HAS_STDIO_BUFSIZ_NONE default UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE help When a FILE is created with fopen(), an attempt is made to allocate a BUFSIZ buffer for it. If the allocation fails, fopen() will still succeed but the FILE will be unbuffered. This option adds a small amount of space to each FILE to act as an emergency buffer in the event of a buffer allocation failure. Most people will answer None.config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE bool "None"config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 bool "4"config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 bool "8"# If you add more choices, you will need to update uClibc_stdio.h.endchoiceconfig UCLIBC_HAS_STDIO_GETC_MACRO bool "Provide a macro version of getc()" depends !UCLIBC_HAS_STDIO_BUFSIZ_NONE default y help Provide a macro version of getc(). Most people will answer Y.config UCLIBC_HAS_STDIO_PUTC_MACRO bool "Provide a macro version of putc()" depends !UCLIBC_HAS_STDIO_BUFSIZ_NONE default y help Provide a macro version of putc(). Most people will answer Y.config UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION bool "Support auto-r/w transition" default y help Answer Y to enable the stdio subsystem to automaticly transition between reading and writing. This relaxes the ANSI/ISO C99 requirement: When a file is opened with update mode ('+' as the second or third character in the list of mode argument values), both input and output may be performed on the associated stream. However, output shall not be directly followed by input without an intervening call to the fflush function or to a file positioning function (fseek, fsetpos, or rewind), and input shall not be directly followed by output without an intervening call to a file positioning function, unless the input operation encounters end璷f璮ile. Most people will answer Y.config UCLIBC_HAS_FOPEN_LARGEFILE_MODE bool "Support an fopen() 'F' flag for large file mode (uClibc-specific)" depends on UCLIBC_HAS_LFS default n help
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -