config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 27 16:24:24 2008 +0000 (2008-08-27)
changeset 815 6236ce3be104
parent 802 4c6b50e0021a
child 850 ef8549b58b6f
permissions -rw-r--r--
eglibc and PowerPC SPE documentaion, courtesy Nate CASE.

/trunk/config/libc.in | 7 7 0 0 +++++++
/trunk/arch/powerpc/config.in | 11 10 1 0 ++++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
yann@1
     1
# C library options
yann@1
     2
yann@1
     3
menu "C-library"
yann@1
     4
yann@1
     5
choice
yann@1
     6
    bool
yann@1
     7
    prompt "C-library to use:"
yann@1
     8
    default LIBC_GLIBC
yann@1
     9
yann@1
    10
config LIBC_GLIBC
yann@1
    11
    bool
yann@1
    12
    prompt "glibc"
yann@95
    13
    select LIBC_SUPPORT_NPTL
yann@95
    14
    select LIBC_SUPPORT_LINUXTHREADS
yann@1
    15
yann@802
    16
if LIBC_GLIBC
yann@802
    17
source config/libc/glibc.in
yann@802
    18
endif
yann@802
    19
yann@787
    20
config LIBC_EGLIBC
yann@787
    21
    bool
yann@787
    22
    prompt "eglibc (EXPERIMENTAL)"
yann@787
    23
    select LIBC_SUPPORT_NPTL
yann@787
    24
    select LIBC_SUPPORT_LINUXTHREADS
yann@787
    25
    depends on EXPERIMENTAL
yann@815
    26
    help
yann@815
    27
      EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
yann@815
    28
      that is designed to work well on embedded systems.  EGLIBC strives
yann@815
    29
      to be source and binary compatible with GLIBC.  Its goals include
yann@815
    30
      a reduced footprint, configurable components, and improved
yann@815
    31
      cross-compilation support.  EGLIBC also includes some embedded ports
yann@815
    32
      (such as e500/spe) that are normally separate add-ons of GLIBC.
yann@787
    33
yann@802
    34
if LIBC_EGLIBC
yann@802
    35
source config/libc/eglibc.in
yann@802
    36
endif
yann@802
    37
yann@1
    38
config LIBC_UCLIBC
yann@1
    39
    bool
yann@1
    40
    prompt "uClibc"
yann@95
    41
    select LIBC_SUPPORT_LINUXTHREADS
yann@1
    42
yann@802
    43
if LIBC_UCLIBC
yann@802
    44
source config/libc/uClibc.in
yann@802
    45
endif
yann@802
    46
yann@1
    47
endchoice
yann@1
    48
yann@1
    49
config LIBC_VERSION
yann@1
    50
    string
yann@1
    51
yann@1
    52
config LIBC
yann@1
    53
    string
yann@1
    54
    default "glibc" if LIBC_GLIBC
yann@787
    55
    default "eglibc" if LIBC_EGLIBC
yann@1
    56
    default "uClibc" if LIBC_UCLIBC
yann@1
    57
yann@95
    58
config LIBC_SUPPORT_NPTL
yann@95
    59
    bool
yann@95
    60
    default n
yann@95
    61
yann@95
    62
config LIBC_SUPPORT_LINUXTHREADS
yann@95
    63
    bool
yann@95
    64
    default n
yann@95
    65
yann@802
    66
choice
yann@802
    67
    bool
yann@802
    68
    prompt "Threading implementation to use:"
yann@802
    69
    default THREADS_NPTL           if LIBC_SUPPORT_NPTL
yann@802
    70
    default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
yann@802
    71
    default THREADS_NONE           if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
yann@1
    72
yann@802
    73
config THREADS_NPTL
yann@802
    74
    bool
yann@802
    75
    prompt "nptl"
yann@802
    76
    depends on LIBC_SUPPORT_NPTL
yann@787
    77
yann@802
    78
config THREADS_LINUXTHREADS
yann@802
    79
    bool
yann@802
    80
    prompt "linuxthreads"
yann@802
    81
    depends on LIBC_SUPPORT_LINUXTHREADS
yann@802
    82
yann@802
    83
config THREADS_NONE
yann@802
    84
    bool
yann@802
    85
    prompt "none"
yann@802
    86
yann@802
    87
endchoice
yann@802
    88
yann@802
    89
config THREADS
yann@802
    90
    string
yann@802
    91
    default "nptl"          if THREADS_NPTL
yann@802
    92
    default "linuxthreads"  if THREADS_LINUXTHREADS
yann@802
    93
    default "none"          if THREADS_NONE
yann@1
    94
yann@710
    95
config LIBC_VERSION
yann@710
    96
    help
yann@710
    97
      Enter the date of the snapshot you want to use in the form: YYYYMMDD
yann@710
    98
      where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
yann@710
    99
      day in the month.
yann@710
   100
      
yann@710
   101
      Please note:
yann@710
   102
      - glibc has snapshots done every monday, and only the last ten are kept.
yann@710
   103
      - uClibc has daily snapshots, and only the last 30-or-so are kept.
yann@710
   104
      
yann@710
   105
      So if you want to be able to re-build your toolchain later, you will
yann@793
   106
      have to save your C library tarball by yourself.
yann@710
   107
yann@1
   108
endmenu