config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 05 22:04:20 2009 +0000 (2009-05-05)
changeset 1324 48c12c696778
parent 1318 5416f4ba36bf
child 1380 945dc995daa7
permissions -rw-r--r--
Add support for building PPL:
- PPL will be needed to correctly build gcc-4.4+ for the
GRAPHITE loop optimisation

-------- diffstat follows --------
/trunk/scripts/build/companion_libs/ppl.sh | 66 66 0 0 ++++++++++++++++++++++++++++++++++++
/trunk/scripts/build/companion_libs/gmp.sh | 24 19 5 0 ++++++++++---
/trunk/scripts/addToolVersion.sh | 3 2 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/companion_libs/ppl.in | 33 33 0 0 ++++++++++++++++++
/trunk/config/companion_libs.in | 22 19 3 0 ++++++++++--
7 files changed, 143 insertions(+), 9 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@1324
    12
      and some other components can use them as well.
yann@1318
    13
      
yann@1324
    14
      These will be automatically selected if you choose gcc>=4.3.0, but you
yann@1324
    15
      can say 'Y' here if you want to build those two libraries for the other
yann@1324
    16
      components (that don't select them by default).
yann@1318
    17
      
yann@602
    18
      The packages that can use GMP and MPFR are:
yann@602
    19
        - binutils
yann@602
    20
        - gcc
yann@602
    21
        - gdb
yann@602
    22
yann@602
    23
config GMP_MPFR_TARGET
yann@602
    24
    bool
yann@602
    25
    prompt "Build libraries for the target"
yann@602
    26
    depends on GMP_MPFR
yann@850
    27
    depends on ! BARE_METAL
yann@602
    28
    default n
yann@602
    29
    help
yann@602
    30
      Also build libraries for the target. This can be usefull if you want
yann@602
    31
      to later build a compiler that will run on the target, or if you want
yann@602
    32
      to run gdb natively on the target.
yann@602
    33
yann@602
    34
if GMP_MPFR
yann@1318
    35
source config/companion_libs/gmp.in
yann@1318
    36
source config/companion_libs/mpfr.in
yann@602
    37
endif
yann@602
    38
yann@1324
    39
config PPL_CLOOG
yann@1324
    40
    bool
yann@1324
    41
    prompt "PPL and GLooG/PPL"
yann@1324
    42
    help
yann@1324
    43
      gcc-4.4.0 and above requires both PPL and CLooG/PPL to build some
yann@1324
    44
      parts of the optimiser (GRAPHITE loop optimisation, to be precise).
yann@1324
    45
      
yann@1324
    46
      These will be automatically selected if you choose gcc>=4.4.0, but you
yann@1324
    47
      can say 'Y' here, although it is unknown yet if any other component
yann@1324
    48
      can use them.
yann@1324
    49
yann@1324
    50
if PPL_CLOOG
yann@1324
    51
source config/companion_libs/ppl.in
yann@1324
    52
endif
yann@1324
    53
yann@602
    54
endmenu