config/gmp_mpfr.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
child 634 c74132339c44
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 # GMP and MPFR libraries config options
     2 
     3 menu "GMP and MPFR"
     4 
     5 config GMP_MPFR
     6     bool
     7     prompt "GMP and MPFR"
     8     help
     9       Recent gcc needs both GMP and MPFR to build some frontends.
    10 
    11       Say 'Y' here if you want to build those two libraries specifically
    12       for crosstool-NG.
    13 
    14       The packages that can use GMP and MPFR are:
    15         - binutils
    16         - gcc
    17         - gdb
    18 
    19 config GMP_MPFR_TARGET
    20     bool
    21     prompt "Build libraries for the target"
    22     depends on GMP_MPFR
    23     default n
    24     help
    25       Also build libraries for the target. This can be usefull if you want
    26       to later build a compiler that will run on the target, or if you want
    27       to run gdb natively on the target.
    28 
    29 if GMP_MPFR
    30 source config/cc/gmp.in
    31 source config/cc/mpfr.in
    32 endif
    33 
    34 endmenu