config/companion_libs.in
author Yann E. MORIN
Sun Jun 14 22:56:26 2009 +0200 (2009-06-14)
branchgcc-4.4
changeset 1407 83083566fdd0
parent 1398 a6e77861ea46
child 1495 2542421e3321
permissions -rw-r--r--
[companion-libs] Fix spaces in help entries

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