⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libc.cdl

📁 eCos1.31版
💻 CDL
📖 第 1 页 / 共 2 页
字号:
        legal_values  2 to 0x7fffffff        default_value 16        description   "            This option controls the maximum size of            locale names and is used, among other things            to instantiate a static string used            as a return value from the            setlocale() function. When requesting the            current locale settings with LC_ALL, a string            must be constructed to contain this data, rather            than just returning a constant string. This            string data is stored in the static string.            This depends on the length of locale names,            hence this option. If just the C locale is            present, this option can be set as low as 2."    }    # SIGNAL CONFIGURATION OPTIONS    cdl_component CYGPKG_LIBC_SIGNALS {        display       "Signals"        flavor        bool        default_value 1        description   "            This component controls signal functionality,            as implemented in ISO C chapter 7.7 with the            signal() and raise() functions. As well as            allowing a program to send itself signals, it is            also possible to cause hardware exceptions to            be signalled to the program in a similar way."                script        signals.cdl    }    # STARTUP OPTIONS    cdl_component CYGPKG_LIBC_STARTUP {        display       "ISO C startup/termination"        flavor        none        doc           redirect/c-library-startup.html        description   "            This component manages the control of the            environment (in the general sense) that the            C library provides for use for full ISO C            compatibility, including a main() entry point            supplied with arguments and an environment            (as retrievable by the getenv() function).            It also includes at the other end of things,            what happens when main() returns or exit() is            called."        script        startup.cdl    }    # ERRNO OPTIONS    cdl_component CYGPKG_LIBC_ERRNO {        display       "errno"        flavor        none        description   "            This package controls the behaviour of the            errno variable (or more strictly, expression)            from <errno.h>."        cdl_option CYGSEM_LIBC_PER_THREAD_ERRNO {            display       "Per-thread errno"            requires      CYGVAR_KERNEL_THREADS_DATA            default_value 1            description   "                This option controls whether the standard error                code reporting variable errno is a per-thread                variable, rather than global. Enabling this                option will use one slot of kernel per-thread data.                You should ensure you have enough slots configured                for all your per-thread data."        }        cdl_option CYGNUM_LIBC_ERRNO_TRACE_LEVEL {            display       "Tracing level"            flavor        data            legal_values  0 to 1            default_value 0            description   "                Trace verbosity level for debugging the errno                retrieval mechanism in errno.cxx. Increase this                value to get additional trace output."        }    }    # TIME OPTIONS    cdl_component CYGPKG_LIBC_TIME {        display       "Date/time"        flavor        none        description   "            Options for date and time related functions from <time.h>"        script        time.cdl    }    define_proc {        puts $::cdl_header "/***** proc output start *****/"        puts $::cdl_header "#include <pkgconf/system.h>"        # MISCELLANEOUS DEFINES        # These are not really adjustable by the user. Do not change these unless        # you know what you are doing!        # How to define inline functions        puts $::cdl_header "#define CYGPRI_LIBC_INLINE extern __inline__"        # The following isn't supported yet - I'm leaving it for now        puts $::cdl_header "#ifdef __GNUC__xxxxxx"        puts $::cdl_header "# define CYGPRI_LIBC_ATTRIB_FORMAT_STRFTIME __attribute__ ((format (strftime, 3)))"        puts $::cdl_header "#else"        puts $::cdl_header "# define CYGPRI_LIBC_ATTRIB_FORMAT_STRFTIME"        puts $::cdl_header "#endif"        # The following are only for compatibility, and will        # eventually be removed once they are eliminated entirely from        # the code base        puts $::cdl_header "#define CYGPRI_LIBC_WEAK CYGBLD_ATTRIB_WEAK"        # How to define aliases        puts $::cdl_header "#define CYGPRI_LIBC_ALIAS(__symbol__) __attribute__ ((alias (__symbol__)))"        puts $::cdl_header "# define CYGPRI_LIBC_WEAK_ALIAS(__symbol__) CYGBLD_ATTRIB_WEAK CYGPRI_LIBC_ALIAS(__symbol__)"        # How to define functions that don't return        puts $::cdl_header "#define CYGPRI_LIBC_NORETURN CYGBLD_ATTRIB_NORET"        puts $::cdl_header "/****** proc output end ******/"    }    cdl_component CYGPKG_LIBC_OPTIONS {        display "C library build options"        flavor  none        description   "	    Package specific build options including control over	    compiler flags used only in building this package,	    and details of which tests are built."        cdl_option CYGPKG_LIBC_CFLAGS_ADD {            display "Additional compiler flags"            flavor  data            no_define            default_value { "" }            description   "                This option modifies the set of compiler flags for                building the C library. These flags are used in addition                to the set of global flags."        }        cdl_option CYGPKG_LIBC_CFLAGS_REMOVE {            display "Supressed compiler flags"            flavor  data            no_define            default_value { "" }            description   "                This option modifies the set of compiler flags for                building the C library. These flags are removed from                the set of global flags if present."        }        cdl_option CYGPKG_LIBC_TESTS {            display "C library tests"            flavor  data            no_define            calculated { "tests/ctype/ctype tests/i18n/setlocale tests/setjmp/setjmp tests/signal/signal1 tests/signal/signal2 tests/stdio/sprintf1 tests/stdio/sprintf2 tests/stdio/sscanf tests/stdio/stdiooutput tests/stdlib/abs tests/stdlib/atexit tests/stdlib/atoi tests/stdlib/atol tests/stdlib/bsearch tests/stdlib/div tests/stdlib/getenv tests/stdlib/labs tests/stdlib/ldiv tests/stdlib/qsort tests/stdlib/malloc1 tests/stdlib/malloc2 tests/stdlib/malloc3 tests/stdlib/rand1 tests/stdlib/rand2 tests/stdlib/rand3 tests/stdlib/rand4 tests/stdlib/realloc tests/stdlib/srand tests/stdlib/strtol tests/stdlib/strtoul tests/string/memchr tests/string/memcmp1 tests/string/memcmp2 tests/string/memcpy1 tests/string/memcpy2 tests/string/memmove1 tests/string/memmove2 tests/string/memset tests/string/strcat1 tests/string/strcat2 tests/string/strchr tests/string/strcmp1 tests/string/strcmp2 tests/string/strcoll1 tests/string/strcoll2 tests/string/strcpy1 tests/string/strcpy2 tests/string/strcspn tests/string/strcspn tests/string/strlen tests/string/strncat1 tests/string/strncat2 tests/string/strncpy1 tests/string/strncpy2 tests/string/strpbrk tests/string/strrchr tests/string/strspn tests/string/strstr tests/string/strtok tests/string/strxfrm1 tests/string/strxfrm2 tests/time/asctime tests/time/clock tests/time/ctime tests/time/gmtime tests/time/localtime tests/time/mktime tests/time/strftime tests/time/time" }            description   "                This option specifies the set of tests for the C library."        }    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -