config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jun 01 17:05:50 2009 +0000 (2009-06-01)
branchgcc-4.4
changeset 1398 a6e77861ea46
parent 1388 b1e6fa0bf9eb
child 1407 83083566fdd0
permissions -rw-r--r--
/devel/gcc-4.4:
- just a slight menuconfig beautification in companion libraries menu

-------- diffstat follows --------
/devel/gcc-4.4/config/companion_libs.in | 11 7 4 0 +++++++----
1 file changed, 7 insertions(+), 4 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
if GMP_MPFR
yann@1318
    24
source config/companion_libs/gmp.in
yann@1318
    25
source config/companion_libs/mpfr.in
yann@602
    26
endif
yann@602
    27
yann@1384
    28
config PPL_CLOOG_MPC
yann@1324
    29
    bool
yann@1384
    30
    prompt "PPL, GLooG/PPL and MPC"
yann@1324
    31
    help
yann@1384
    32
      gcc-4.4.0 and above requires PPL and CLooG/PPL to build some parts
yann@1384
    33
      of the optimiser (GRAPHITE loop optimisation, to be precise).
yann@1384
    34
      
yann@1384
    35
      In addition to those, gcc-4.4 also optionally uses MPC to enable
yann@1384
    36
      additional optimisations on complex numbers. Although MPC is optional,
yann@1384
    37
      crosstool-NG requires it and uses it to build gcc >= 4.4.0.
yann@1324
    38
      
yann@1324
    39
      These will be automatically selected if you choose gcc>=4.4.0, but you
yann@1324
    40
      can say 'Y' here, although it is unknown yet if any other component
yann@1324
    41
      can use them.
yann@1324
    42
yann@1384
    43
if PPL_CLOOG_MPC
yann@1324
    44
source config/companion_libs/ppl.in
yann@1380
    45
source config/companion_libs/cloog.in
yann@1384
    46
source config/companion_libs/mpc.in
yann@1324
    47
endif
yann@1324
    48
yann@1398
    49
config FOO
yann@1398
    50
    bool
yann@1398
    51
yann@1398
    52
comment "Companion libraries common options"
yann@1386
    53
    depends on GMP_MPFR || PPL_CLOOG_MPC
yann@1386
    54
yann@1386
    55
config COMP_LIBS_CHECK
yann@1386
    56
    bool
yann@1398
    57
    prompt "|  Check the companion libraries builds (!!! READ HELP!!!)"
yann@1386
    58
    depends on GMP_MPFR || PPL_CLOOG_MPC
yann@1386
    59
    default n
yann@1386
    60
    help
yann@1386
    61
      It is highly recommended to check the newly built companion libraries.
yann@1386
    62
      Unfortunately, this is a very intensive task, and takes a loooong time.
yann@1386
    63
yann@1386
    64
      Checking the newly built companion libraries is thus disabled by default,
yann@1388
    65
      but it is suggested that you check them at least once on your machine,
yann@1386
    66
      and if they work, disable the check on subsequent builds.
yann@1386
    67
yann@1386
    68
      If you suspect that one (or more) of your companion libraries is the
yann@1386
    69
      cause for incorrectly generated code, you should answer 'Y' here.
yann@1386
    70
      Note however that this will take a really long time. For example,
yann@1386
    71
      building PPL on my machine takes roughly 1'40", while checking it takes
yann@1398
    72
      about 1h40'...
yann@1386
    73
yann@1386
    74
config COMP_LIBS_TARGET
yann@1386
    75
    bool
yann@1398
    76
    prompt "|  Build companion libraries for the target"
yann@1386
    77
    depends on GMP_MPFR || PPL_CLOOG_MPC
yann@1386
    78
    depends on ! BARE_METAL
yann@1386
    79
    default n
yann@1386
    80
    help
yann@1386
    81
      Also build companion libraries for the target. This can be usefull if
yann@1386
    82
      you want to later build a compiler that will run on the target, or if
yann@1386
    83
      you want to run gdb natively on the target.
yann@1386
    84
      
yann@1386
    85
      Please note that for now, crosstool-NG can only build GMP and MPFR so.
yann@1386
    86
yann@602
    87
endmenu