config/libc/glibc.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 1260 777153645ab8
child 1314 34d1b285c5db
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@448
     1
# glibc options
yann@1269
     2
# depends on ! BARE_METAL
yann@448
     3
yann@922
     4
config LIBC_glibc
yann@922
     5
    select LIBC_SUPPORT_NPTL
yann@922
     6
    select LIBC_SUPPORT_LINUXTHREADS
yann@922
     7
    help
yann@922
     8
      The de-facto standard for Linux distributions.
yann@922
     9
      Feature-rich, but large...  Most usefull for desktop-like systems.
yann@852
    10
yann@448
    11
choice
yann@448
    12
    bool
yann@448
    13
    prompt "glibc version"
yann@448
    14
yann@448
    15
config LIBC_V_2_3_6
yann@448
    16
    bool
yann@448
    17
    prompt "2.3.6 (OBSOLETE)"
yann@448
    18
    depends on OBSOLETE
yann@448
    19
yann@448
    20
config LIBC_V_2_5
yann@448
    21
    bool
yann@448
    22
    prompt "2.5"
yann@448
    23
yann@448
    24
config LIBC_V_2_5_1
yann@448
    25
    bool
yann@448
    26
    prompt "2.5.1"
yann@448
    27
yann@448
    28
config LIBC_V_2_6
yann@448
    29
    bool
yann@448
    30
    prompt "2.6"
yann@448
    31
yann@448
    32
config LIBC_V_2_6_1
yann@448
    33
    bool
yann@448
    34
    prompt "2.6.1"
yann@448
    35
yann@448
    36
config LIBC_V_2_7
yann@448
    37
    bool
yann@448
    38
    prompt "2.7"
yann@448
    39
yann@1114
    40
config LIBC_V_2_8
yann@1114
    41
    bool
yann@1260
    42
    prompt "2.8"
yann@1114
    43
yann@1114
    44
config LIBC_V_2_9
yann@1114
    45
    bool
yann@1260
    46
    prompt "2.9"
yann@1114
    47
yann@448
    48
# CT_INSERT_VERSION_ABOVE
yann@448
    49
# Don't remove above line!
yann@865
    50
yann@865
    51
config LIBC_V_LATEST
yann@865
    52
    bool
yann@865
    53
    prompt "'latest' snapshot (EXPERIMENTAL)"
yann@865
    54
    depends on EXPERIMENTAL
yann@865
    55
yann@865
    56
config LIBC_V_date
yann@865
    57
    bool
yann@865
    58
    prompt "<specific date> (EXPERIMENTAL)"
yann@865
    59
    depends on EXPERIMENTAL
yann@865
    60
yann@448
    61
endchoice
yann@448
    62
yann@448
    63
config LIBC_VERSION
yann@448
    64
    string
yann@710
    65
    prompt "Enter date (YYYYMMDD)" if LIBC_V_date
yann@710
    66
    default "latest" if LIBC_V_LATEST
yann@448
    67
    default "2.3.6" if LIBC_V_2_3_6
yann@448
    68
    default "2.4" if LIBC_V_2_4
yann@448
    69
    default "2.5" if LIBC_V_2_5
yann@448
    70
    default "2.5.1" if LIBC_V_2_5_1
yann@448
    71
    default "2.6" if LIBC_V_2_6
yann@448
    72
    default "2.6.1" if LIBC_V_2_6_1
yann@448
    73
    default "2.7" if LIBC_V_2_7
yann@1260
    74
    default "2.8" if LIBC_V_2_8
yann@1260
    75
    default "2.9" if LIBC_V_2_9
yann@448
    76
# CT_INSERT_VERSION_STRING_ABOVE
yann@448
    77
# Don't remove above line!
yann@448
    78
yann@1260
    79
choice
yann@1114
    80
    bool
yann@1260
    81
    prompt "Retrieval method"
yann@1260
    82
    default LIBC_GLIBC_TARBALL
yann@1114
    83
yann@1260
    84
config LIBC_GLIBC_TARBALL
yann@1260
    85
    bool
yann@1260
    86
    prompt "Released tarball"
yann@1260
    87
    help
yann@1260
    88
      Until end of Februrary 2009, there was no tarball for glibc releases
yann@1260
    89
      2.8 and later. This was intentional.
yann@1260
    90
      
yann@1260
    91
      Then, all of a sudden, tarballs for those releases have appeared at the
yann@1260
    92
      traditional download place (ftp.gnu.org).
yann@1260
    93
      
yann@1260
    94
      Some of the glibc people argue that fixes are committed to the maintenance
yann@1260
    95
      branch, and thus it is the best plac e to retrieve the glibc from.
yann@1260
    96
      On the other hand, it might be preferable to always generate a toolchain
yann@1260
    97
      using a known code-base, so the toolchain can be reproducible.
yann@1260
    98
      
yann@1260
    99
      For version prior to 2.8, tarballs were readily available.
yann@1260
   100
      
yann@1260
   101
      If you want your toolchain to really be reproducible, say 'Y' here.
yann@1260
   102
      If you can live with a moving code-base, look at the other choice
yann@1260
   103
      entries, below.
yann@1114
   104
yann@1260
   105
config LIBC_GLIBC_CVS
yann@1114
   106
    bool
yann@1260
   107
    prompt "CVS checkout"
yann@1114
   108
    help
yann@1260
   109
      See the help for the entry "Released tarball", above.
yann@1260
   110
      
yann@1260
   111
      If you can live with a moving code-base, say 'Y' here.
yann@1260
   112
      If you want your toolchain to really be reproducible, look at the
yann@1260
   113
      choice entry "Released tarball from FTP", above.
yann@1114
   114
yann@1260
   115
if LIBC_GLIBC_CVS
yann@1114
   116
yann@1114
   117
config LIBC_GLIBC_CVS_date
yann@1114
   118
    string
yann@1114
   119
    prompt "checkout as of date"
yann@1114
   120
    default ""
yann@1114
   121
    help
yann@1114
   122
      The date, in ISO-8601 format, at which to check out the repository.
yann@1114
   123
yann@1260
   124
endif #  LIBC_GLIBC_CVS
yann@1260
   125
yann@1260
   126
#config LIBC_GLIBC_SNAPSHOT
yann@1114
   127
#    bool
yann@1260
   128
#    prompt "Use latest nightly snapshot"
yann@1114
   129
#    help
yann@1260
   130
#      See the help for the entry "Released tarball", above.
yann@1260
   131
#      
yann@1260
   132
#      If you can live with a moving code-base, say 'Y' here.
yann@1260
   133
#      If you want your toolchain to really be reproducible, look at the
yann@1260
   134
#      choice entry "Released tarball from FTP", above.
yann@1114
   135
yann@1260
   136
endchoice