3 Do not edit this file directly. CMake will auto generate it.
4 If the changes are intended, add this file to your commit.
6 ==========================
8 ==========================
10 Below is the full set of options one can use to configure the libc build.
11 An option can be given an explicit value on the CMake command line using
16 $> cmake <other build options> -D<libc config option name>=<option value> <more options>
22 $> cmake <other build options> -DLIBC_CONF_PRINTF_DISABLE_FLOAT=ON <more options>
24 See the main ``config/config.json``, and the platform and architecture specific
25 overrides in ``config/<platform>/config.json`` and ``config/<platform>/<arch>/config.json,``
26 to learn about the defaults for your platform and target.
28 * **"printf" options**
29 - ``LIBC_CONF_PRINTF_DISABLE_FLOAT``: Disable printing floating point values in printf and friends.
30 - ``LIBC_CONF_PRINTF_DISABLE_INDEX_MODE``: Disable index mode in the printf format string.
31 - ``LIBC_CONF_PRINTF_DISABLE_WRITE_INT``: Disable handling of %n in printf format string.
32 - ``LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE``: Use large table for better printf long double performance.
33 * **"string" options**
34 - ``LIBC_CONF_STRING_UNSAFE_WIDE_READ``: Read more than a byte at a time to perform byte-string operations like strlen.