config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Aug 21 13:12:35 2008 +0000 (2008-08-21)
changeset 803 1787813fc62a
parent 793 35b0ddf2c462
child 815 6236ce3be104
permissions -rw-r--r--
Typo.

/trunk/config/toolchain.in | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
     1 # C library options
     2 
     3 menu "C-library"
     4 
     5 choice
     6     bool
     7     prompt "C-library to use:"
     8     default LIBC_GLIBC
     9 
    10 config LIBC_GLIBC
    11     bool
    12     prompt "glibc"
    13     select LIBC_SUPPORT_NPTL
    14     select LIBC_SUPPORT_LINUXTHREADS
    15 
    16 if LIBC_GLIBC
    17 source config/libc/glibc.in
    18 endif
    19 
    20 config LIBC_EGLIBC
    21     bool
    22     prompt "eglibc (EXPERIMENTAL)"
    23     select LIBC_SUPPORT_NPTL
    24     select LIBC_SUPPORT_LINUXTHREADS
    25     depends on EXPERIMENTAL
    26 
    27 if LIBC_EGLIBC
    28 source config/libc/eglibc.in
    29 endif
    30 
    31 config LIBC_UCLIBC
    32     bool
    33     prompt "uClibc"
    34     select LIBC_SUPPORT_LINUXTHREADS
    35 
    36 if LIBC_UCLIBC
    37 source config/libc/uClibc.in
    38 endif
    39 
    40 endchoice
    41 
    42 config LIBC_VERSION
    43     string
    44 
    45 config LIBC
    46     string
    47     default "glibc" if LIBC_GLIBC
    48     default "eglibc" if LIBC_EGLIBC
    49     default "uClibc" if LIBC_UCLIBC
    50 
    51 config LIBC_SUPPORT_NPTL
    52     bool
    53     default n
    54 
    55 config LIBC_SUPPORT_LINUXTHREADS
    56     bool
    57     default n
    58 
    59 choice
    60     bool
    61     prompt "Threading implementation to use:"
    62     default THREADS_NPTL           if LIBC_SUPPORT_NPTL
    63     default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    64     default THREADS_NONE           if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    65 
    66 config THREADS_NPTL
    67     bool
    68     prompt "nptl"
    69     depends on LIBC_SUPPORT_NPTL
    70 
    71 config THREADS_LINUXTHREADS
    72     bool
    73     prompt "linuxthreads"
    74     depends on LIBC_SUPPORT_LINUXTHREADS
    75 
    76 config THREADS_NONE
    77     bool
    78     prompt "none"
    79 
    80 endchoice
    81 
    82 config THREADS
    83     string
    84     default "nptl"          if THREADS_NPTL
    85     default "linuxthreads"  if THREADS_LINUXTHREADS
    86     default "none"          if THREADS_NONE
    87 
    88 config LIBC_VERSION
    89     help
    90       Enter the date of the snapshot you want to use in the form: YYYYMMDD
    91       where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
    92       day in the month.
    93       
    94       Please note:
    95       - glibc has snapshots done every monday, and only the last ten are kept.
    96       - uClibc has daily snapshots, and only the last 30-or-so are kept.
    97       
    98       So if you want to be able to re-build your toolchain later, you will
    99       have to save your C library tarball by yourself.
   100 
   101 endmenu