config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Apr 30 23:13:12 2011 +0200 (2011-04-30)
changeset 2424 28092887b486
parent 2227 5158aa602e58
child 2484 d1a8c2ae7946
permissions -rw-r--r--
scripts: fix installation

Changeset e013ddebc063 forgot to install the samples.mk file.

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