config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 17:51:33 2014 +0200 (2014-05-11)
changeset 3317 6b2c4692f132
parent 3216 bfad02f03c75
permissions -rw-r--r--
binutils/elf2flt: restore the custom location functionality

Somehow, it got lost when incorporating elf2flt in the binutils farmework.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     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 COMPLIBS_NEEDED
     8     bool
     9 
    10 config GMP_NEEDED
    11     bool
    12     select GMP
    13     select COMPLIBS_NEEDED
    14 
    15 config MPFR_NEEDED
    16     bool
    17     select MPFR
    18     select COMPLIBS_NEEDED
    19 
    20 config PPL_NEEDED
    21     bool
    22     select PPL
    23     select COMPLIBS_NEEDED
    24 
    25 config ISL_NEEDED
    26     bool
    27     select ISL
    28     select COMPLIBS_NEEDED
    29 
    30 config CLOOG_NEEDED
    31     bool
    32     select CLOOG
    33     select COMPLIBS_NEEDED
    34 
    35 config MPC_NEEDED
    36     bool
    37     select MPC
    38     select COMPLIBS_NEEDED
    39 
    40 config LIBELF_NEEDED
    41     bool
    42     select LIBELF
    43     select COMPLIBS_NEEDED
    44 
    45 config COMPLIBS
    46     bool
    47 
    48 config GMP
    49     bool
    50     select COMPLIBS
    51 
    52 config MPFR
    53     bool
    54     select GMP
    55     select COMPLIBS
    56 
    57 config PPL
    58     bool
    59     select GMP
    60     select COMPLIBS
    61 
    62 config ISL
    63     bool
    64     select GMP
    65     select COMPLIBS
    66 
    67 config CLOOG
    68     bool
    69     select GMP
    70     select COMPLIBS
    71 
    72 config MPC
    73     bool
    74     select GMP
    75     select MPFR
    76     select COMPLIBS
    77 
    78 config LIBELF
    79     bool
    80     select COMPLIBS
    81 
    82 config LIBELF_TARGET
    83     bool
    84 
    85 if GMP
    86 source "config/companion_libs/gmp.in"
    87 endif
    88 if MPFR
    89 source "config/companion_libs/mpfr.in"
    90 endif
    91 if PPL
    92 source "config/companion_libs/ppl.in"
    93 endif
    94 if ISL
    95 source "config/companion_libs/isl.in"
    96 endif
    97 if CLOOG
    98 source "config/companion_libs/cloog.in"
    99 endif
   100 if MPC
   101 source "config/companion_libs/mpc.in"
   102 endif
   103 if LIBELF || LIBELF_TARGET
   104 comment "libelf version needed to build for target"
   105     depends on !LIBELF
   106 source "config/companion_libs/libelf.in"
   107 endif
   108 
   109 config FOO
   110     bool
   111 
   112 if COMPLIBS
   113 
   114 comment "Companion libraries common options"
   115 
   116 config COMPLIBS_CHECK
   117     bool
   118     prompt "Check the companion libraries builds (!!! READ HELP!!!)"
   119     help
   120       It is highly recommended to check the newly built companion libraries.
   121       Unfortunately, this is a very intensive task, and takes a loooong time.
   122       
   123       Checking the newly built companion libraries is thus disabled by default,
   124       but it is suggested that you check them at least once on your machine,
   125       and if they work, disable the check on subsequent builds.
   126       
   127       If you suspect that one (or more) of your companion libraries is the
   128       cause for incorrectly generated code, you should answer 'Y' here.
   129       Note however that this will take a really long time. For example,
   130       building PPL on my machine takes roughly 1'40", while checking it takes
   131       about 1h40'...
   132 
   133 endif # COMPLIBS
   134 
   135 endmenu