config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon May 25 19:48:42 2009 +0000 (2009-05-25)
branchgcc-4.4
changeset 1387 a52504ffac55
parent 1178 41a84f7d3b4f
child 1371 802c132f1f71
permissions -rw-r--r--
/devel/gcc-4.4:
- TODO: remove completed items

-------- diffstat follows --------
/devel/gcc-4.4/TODO | 1 0 1 0 -
1 file changed, 1 deletion(-)
     1 # C library options
     2 
     3 config LIBC
     4     string
     5     default "none" if BARE_METAL
     6 
     7 menu "C-library"
     8 
     9 config LIBC_VERSION
    10     string
    11     help
    12       Enter the date of the snapshot you want to use in the form: YYYYMMDD
    13       where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
    14       day in the month.
    15       
    16       Please note:
    17       - glibc has snapshots done every monday, and only the last ten are kept.
    18       - uClibc has daily snapshots, and only the last 30-or-so are kept.
    19       
    20       So if you want to be able to re-build your toolchain later, you will
    21       have to save your C library tarball by yourself.
    22 
    23 source config.gen/libc.in
    24 
    25 comment "Common C library options"
    26 
    27 config LIBC_SUPPORT_NPTL
    28     bool
    29     default n
    30 
    31 config LIBC_SUPPORT_LINUXTHREADS
    32     bool
    33     default n
    34 
    35 config THREADS
    36     string
    37     default "nptl"          if THREADS_NPTL
    38     default "linuxthreads"  if THREADS_LINUXTHREADS
    39     default "none"          if THREADS_NONE
    40 
    41 choice
    42     bool
    43     prompt "Threading implementation to use:"
    44     default THREADS_NPTL           if LIBC_SUPPORT_NPTL
    45     default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    46     default THREADS_NONE           if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    47 
    48 config THREADS_NPTL
    49     bool
    50     prompt "nptl"
    51     depends on LIBC_SUPPORT_NPTL
    52 
    53 config THREADS_LINUXTHREADS
    54     bool
    55     prompt "linuxthreads"
    56     depends on LIBC_SUPPORT_LINUXTHREADS
    57 
    58 config THREADS_NONE
    59     bool
    60     prompt "none"
    61 
    62 endchoice
    63 
    64 endmenu