config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 12 21:38:12 2010 +0200 (2010-09-12)
changeset 2109 4a45c5758258
parent 2099 1bb063c8a0ca
child 2121 ea11e149ec23
permissions -rw-r--r--
config: change name of default build dir

'targets' is not really meaningfull.
'build' means what it means.
'.build' just hides it as well! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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@1808
     7
comment "FIXME: check real dependencies!!!"
yann@1808
     8
yann@1809
     9
config COMPLIBS
yann@1809
    10
    bool
yann@1809
    11
    default n
yann@1809
    12
yann@1495
    13
config WRAPPER_NEEDED
yann@1495
    14
    bool
yann@1495
    15
    default n
yann@1495
    16
yann@1808
    17
config GMP
yann@602
    18
    bool
yann@1809
    19
    select COMPLIBS
yann@602
    20
yann@1808
    21
config MPFR
yann@1808
    22
    bool
yann@1808
    23
    select GMP
yann@1809
    24
    select COMPLIBS
yann@1808
    25
yann@1808
    26
config PPL
yann@1808
    27
    bool
yann@1808
    28
    select GMP
yann@1808
    29
    select MPFR
yann@1809
    30
    select COMPLIBS
yann@1808
    31
yann@1808
    32
config CLOOG
yann@1808
    33
    bool
yann@1808
    34
    select GMP
yann@1808
    35
    select MPFR
yann@1808
    36
    select PPL
yann@1809
    37
    select COMPLIBS
yann@1808
    38
yann@1808
    39
config MPC
yann@1808
    40
    bool
yann@1808
    41
    select GMP
yann@1808
    42
    select MPFR
yann@1808
    43
    select PPL
yann@1808
    44
    select CLOOG
yann@1809
    45
    select COMPLIBS
yann@1808
    46
yann@1811
    47
config LIBELF
yann@1811
    48
    bool
yann@1811
    49
    select COMPLIBS
yann@1811
    50
yann@1811
    51
config LIBELF_TARGET
yann@1811
    52
    bool
yann@1811
    53
yann@2099
    54
if GMP
yann@1870
    55
source "config/companion_libs/gmp.in"
yann@1808
    56
endif
yann@2099
    57
if MPFR
yann@1870
    58
source "config/companion_libs/mpfr.in"
yann@602
    59
endif
yann@2099
    60
if PPL
yann@1870
    61
source "config/companion_libs/ppl.in"
yann@1808
    62
endif
yann@2099
    63
if CLOOG
yann@1870
    64
source "config/companion_libs/cloog.in"
yann@1808
    65
endif
yann@2099
    66
if MPC
yann@1870
    67
source "config/companion_libs/mpc.in"
yann@1324
    68
endif
yann@1811
    69
if LIBELF || LIBELF_TARGET
yann@1811
    70
comment "libelf version needed to build for target"
yann@1811
    71
    depends on !LIBELF
yann@1870
    72
source "config/companion_libs/libelf.in"
yann@1811
    73
endif
yann@1324
    74
yann@1398
    75
config FOO
yann@1398
    76
    bool
yann@1398
    77
yann@1892
    78
if COMPLIBS
yann@1892
    79
yann@1398
    80
comment "Companion libraries common options"
yann@1809
    81
yann@1890
    82
config COMPLIBS_CHECK
yann@1386
    83
    bool
yann@1892
    84
    prompt "Check the companion libraries builds (!!! READ HELP!!!)"
yann@1386
    85
    default n
yann@1386
    86
    help
yann@1386
    87
      It is highly recommended to check the newly built companion libraries.
yann@1386
    88
      Unfortunately, this is a very intensive task, and takes a loooong time.
Yann@1407
    89
      
yann@1386
    90
      Checking the newly built companion libraries is thus disabled by default,
yann@1388
    91
      but it is suggested that you check them at least once on your machine,
yann@1386
    92
      and if they work, disable the check on subsequent builds.
Yann@1407
    93
      
yann@1386
    94
      If you suspect that one (or more) of your companion libraries is the
yann@1386
    95
      cause for incorrectly generated code, you should answer 'Y' here.
yann@1386
    96
      Note however that this will take a really long time. For example,
yann@1386
    97
      building PPL on my machine takes roughly 1'40", while checking it takes
yann@1398
    98
      about 1h40'...
yann@1386
    99
yann@1892
   100
config COMPLIBS_SHARED
yann@1892
   101
    bool
yann@1892
   102
    prompt "Build shared companion libraries"
yann@1892
   103
    default n
yann@1892
   104
    depends on COMPLIBS
yann@1892
   105
    select WRAPPER_NEEDED
yann@1892
   106
    help
yann@1892
   107
      By default, the companion libraries will be build static. If you want to
yann@1892
   108
      build shared libraries, then you can say 'Y' here, but a wrapper will be
yann@1892
   109
      needed (see docs/overview.txt,section "Tools wrapper").
yann@1892
   110
      
yann@1892
   111
      It is highly recommended that you keep static libraries.
yann@1892
   112
yann@1515
   113
choice
yann@1515
   114
    bool
yann@1515
   115
    prompt "|  Install tools wrapper as:"
yann@1515
   116
    depends on WRAPPER_NEEDED
yann@1515
   117
    default TOOLS_WRAPPER_SHELL
yann@1515
   118
yann@1515
   119
config TOOLS_WRAPPER_SCRIPT
yann@1515
   120
    bool
yann@1515
   121
    prompt "shell script"
yann@1515
   122
    help
yann@1515
   123
      If your host has a shell, then you should say 'Y' here, to use
yann@1515
   124
      a (very very simple) shell script as wrapper.
yann@1515
   125
      
yann@1515
   126
      See docs/overview.txt, section "Tools wrapper".
yann@1515
   127
yann@1515
   128
config TOOLS_WRAPPER_EXEC
yann@1515
   129
    bool
yann@1515
   130
    prompt "executable"
yann@1515
   131
    help
yann@1515
   132
      If your host lacks a shell, then you should say 'Y' here, to use
yann@1515
   133
      an executable.
yann@1515
   134
      
yann@1515
   135
      See docs/overview.txt, section "Tools wrapper".
yann@1515
   136
yann@1515
   137
endchoice
yann@1515
   138
yann@1515
   139
config TOOLS_WRAPPER
yann@1515
   140
    string
yann@1515
   141
    default "script" if TOOLS_WRAPPER_SCRIPT
yann@1515
   142
    default "exec"   if TOOLS_WRAPPER_EXEC
yann@1515
   143
yann@1892
   144
endif # COMPLIBS
yann@1892
   145
yann@602
   146
endmenu