config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon May 25 18:22:26 2009 +0000 (2009-05-25)
branchgcc-4.4
changeset 1384 b23f3c2e0c73
parent 1380 945dc995daa7
child 1386 7995942261f2
permissions -rw-r--r--
/devel/gcc-4.4:
- add support for building the MPC library.

-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 57 57 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/mpc.in | 32 32 0 0 +++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 15 10 5 0 ++++++---
7 files changed, 107 insertions(+), 9 deletions(-)
     1 # Companion libraries config options
     2 # Those libraries are required for different versions of gcc,
     3 # and can be used by binutils and gdb (maybe others as well).
     4 
     5 menu "Companion libraries"
     6 
     7 config GMP_MPFR
     8     bool
     9     prompt "GMP and MPFR"
    10     help
    11       gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
    12       and some other components can use them as well.
    13       
    14       These will be automatically selected if you choose gcc>=4.3.0, but you
    15       can say 'Y' here if you want to build those two libraries for the other
    16       components (that don't select them by default).
    17       
    18       The packages that can use GMP and MPFR are:
    19         - binutils
    20         - gcc
    21         - gdb
    22 
    23 config GMP_MPFR_TARGET
    24     bool
    25     prompt "Build libraries for the target"
    26     depends on GMP_MPFR
    27     depends on ! BARE_METAL
    28     default n
    29     help
    30       Also build libraries for the target. This can be usefull if you want
    31       to later build a compiler that will run on the target, or if you want
    32       to run gdb natively on the target.
    33 
    34 if GMP_MPFR
    35 source config/companion_libs/gmp.in
    36 source config/companion_libs/mpfr.in
    37 endif
    38 
    39 config PPL_CLOOG_MPC
    40     bool
    41     prompt "PPL, GLooG/PPL and MPC"
    42     help
    43       gcc-4.4.0 and above requires PPL and CLooG/PPL to build some parts
    44       of the optimiser (GRAPHITE loop optimisation, to be precise).
    45       
    46       In addition to those, gcc-4.4 also optionally uses MPC to enable
    47       additional optimisations on complex numbers. Although MPC is optional,
    48       crosstool-NG requires it and uses it to build gcc >= 4.4.0.
    49       
    50       These will be automatically selected if you choose gcc>=4.4.0, but you
    51       can say 'Y' here, although it is unknown yet if any other component
    52       can use them.
    53 
    54 if PPL_CLOOG_MPC
    55 source config/companion_libs/ppl.in
    56 source config/companion_libs/cloog.in
    57 source config/companion_libs/mpc.in
    58 endif
    59 
    60 endmenu