config/gmp_mpfr.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 27 16:35:37 2008 +0000 (2008-07-27)
changeset 740 d26d8cc7c460
parent 602 1968d150a34f
child 850 ef8549b58b6f
permissions -rw-r--r--
Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same *64):
- symlink all lib64/ dirs to the corresponding lib/ dir
Also, prevent gcc from installing some of its target libs outside of the sys-root, in the first place.
Thanks to Laurent DUFRECHOU for reporting the bug and testing the fix.

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