config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Mar 26 18:58:13 2009 +0000 (2009-03-26)
changeset 1269 17e37102a037
parent 1178 41a84f7d3b4f
child 1371 802c132f1f71
permissions -rw-r--r--
Merge r1432:1437 from /branches/newlib into /trunk :
- under bare-metal, the user is responsible for providing a gdbserver stub (r1433)
- install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434)
- allow broader dependency in generated config files (r1435, r1436)
- prepare C library menuconfig for using a C library under bare-metal (r1437)

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