config/gmp_mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Aug 07 13:28:02 2008 +0000 (2008-08-07)
changeset 763 f078be5961ec
parent 602 1968d150a34f
child 850 ef8549b58b6f
permissions -rw-r--r--
Fix building core C compiler.
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers.
In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake.
This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested).

/trunk/scripts/build/cc_gcc.sh | 100 47 53 0 +++++++++++++++++++++++-------------------------
1 file changed, 47 insertions(+), 53 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/gmp_mpfr/gmp.in
    31 source config/gmp_mpfr/mpfr.in
    32 endif
    33 
    34 endmenu