config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 20 15:16:43 2008 +0000 (2008-06-20)
changeset 602 1968d150a34f
parent 446 d205527c5e01
child 710 021546adce69
permissions -rw-r--r--
GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

/trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++-------
/trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++-------
/trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++--------
/trunk/steps.mk | 2 2 0 0 ++
/trunk/config/cc/gcc.in | 18 1 17 0 +--------------
/trunk/config/debug/gdb.in | 6 1 5 0 +----
/trunk/config/config.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++
8 files changed, 137 insertions(+), 47 deletions(-)
     1 # C library options
     2 
     3 menu "C-library"
     4 
     5 choice
     6     bool
     7     prompt "C-library to use:"
     8     default LIBC_GLIBC
     9 
    10 config LIBC_GLIBC
    11     bool
    12     prompt "glibc"
    13     select LIBC_SUPPORT_NPTL
    14     select LIBC_SUPPORT_LINUXTHREADS
    15 
    16 config LIBC_UCLIBC
    17     bool
    18     prompt "uClibc"
    19     select LIBC_SUPPORT_LINUXTHREADS
    20 
    21 endchoice
    22 
    23 config LIBC_VERSION
    24     string
    25 
    26 config LIBC
    27     string
    28     default "glibc" if LIBC_GLIBC
    29     default "uClibc" if LIBC_UCLIBC
    30 
    31 config LIBC_SUPPORT_NPTL
    32     bool
    33     default n
    34 
    35 config LIBC_SUPPORT_LINUXTHREADS
    36     bool
    37     default n
    38 
    39 if LIBC_GLIBC
    40 source config/libc/glibc.in
    41 endif
    42 
    43 if LIBC_UCLIBC
    44 source config/libc/uClibc.in
    45 endif
    46 
    47 endmenu