config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 03 21:10:15 2009 +0000 (2009-05-03)
changeset 1318 5416f4ba36bf
parent 850 config/gmp_mpfr.in@ef8549b58b6f
child 1324 48c12c696778
permissions -rw-r--r--
Prepare for gcc-4.4:
- add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+
- move GMP & MPFR to 'companion_libs/'

-------- diffstat follows --------
/trunk/scripts/build/gmp.sh | 85 0 85 0 ----------------------------
/trunk/scripts/build/mpfr.sh | 139 0 139 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 4 2 2 0
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0
/trunk/config/companion_libs.in | 17 10 7 0 +++---
/trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ----------
/trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 --------------
/trunk/config/config.in | 2 1 1 0
/trunk/config/gmp_mpfr.in | 35 0 35 0 -----------
9 files changed, 15 insertions(+), 345 deletions(-)
yann@1318
     1
# Companion libraries config options
yann@1318
     2
# Those libraries are required for different versions of gcc,
yann@1318
     3
# and can be used by binutils and gdb (maybe others as well).
yann@602
     4
yann@1318
     5
menu "Companion libraries"
yann@602
     6
yann@602
     7
config GMP_MPFR
yann@602
     8
    bool
yann@602
     9
    prompt "GMP and MPFR"
yann@602
    10
    help
yann@1318
    11
      gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
yann@1318
    12
      and some other components can use them as well (eg. binutils and gdb).
yann@1318
    13
      
yann@602
    14
      Say 'Y' here if you want to build those two libraries specifically
yann@602
    15
      for crosstool-NG.
yann@1318
    16
      
yann@602
    17
      The packages that can use GMP and MPFR are:
yann@602
    18
        - binutils
yann@602
    19
        - gcc
yann@602
    20
        - gdb
yann@602
    21
yann@602
    22
config GMP_MPFR_TARGET
yann@602
    23
    bool
yann@602
    24
    prompt "Build libraries for the target"
yann@602
    25
    depends on GMP_MPFR
yann@850
    26
    depends on ! BARE_METAL
yann@602
    27
    default n
yann@602
    28
    help
yann@602
    29
      Also build libraries for the target. This can be usefull if you want
yann@602
    30
      to later build a compiler that will run on the target, or if you want
yann@602
    31
      to run gdb natively on the target.
yann@602
    32
yann@602
    33
if GMP_MPFR
yann@1318
    34
source config/companion_libs/gmp.in
yann@1318
    35
source config/companion_libs/mpfr.in
yann@602
    36
endif
yann@602
    37
yann@602
    38
endmenu