config/gmp_mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Nov 28 23:31:02 2008 +0000 (2008-11-28)
changeset 1082 cfdaef41cd77
parent 634 c74132339c44
permissions -rw-r--r--
Canonicalise CT_BUILD and CT_HOST:

- Not only will it give us full-qualified tuples, but it will also ensure
that they are valid tuples (in case of typo with user-provided tuples)
That's way better than trying to rewrite config.sub ourselves...
- use CT_BUILD_PREFIX and CT_BUILD_SUFFIX to call "gcc -dumpmachine"

/trunk/scripts/crosstool.sh | 29 7 22 0 +++++++----------------------
1 file changed, 7 insertions(+), 22 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     depends on ! BARE_METAL
    24     default n
    25     help
    26       Also build libraries for the target. This can be usefull if you want
    27       to later build a compiler that will run on the target, or if you want
    28       to run gdb natively on the target.
    29 
    30 if GMP_MPFR
    31 source config/gmp_mpfr/gmp.in
    32 source config/gmp_mpfr/mpfr.in
    33 endif
    34 
    35 endmenu