config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 03 21:10:15 2009 +0000 (2009-05-03)
changeset 1318 5416f4ba36bf
parent 1178 41a84f7d3b4f
child 1371 802c132f1f71
permissions -rw-r--r--
Prepare for gcc-4.4:
- add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+
- move GMP & MPFR to 'companion_libs/'

-------- diffstat follows --------
/trunk/scripts/build/gmp.sh | 85 0 85 0 ----------------------------
/trunk/scripts/build/mpfr.sh | 139 0 139 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 4 2 2 0
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0
/trunk/config/companion_libs.in | 17 10 7 0 +++---
/trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ----------
/trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 --------------
/trunk/config/config.in | 2 1 1 0
/trunk/config/gmp_mpfr.in | 35 0 35 0 -----------
9 files changed, 15 insertions(+), 345 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