config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
parent 2208 5aa0516d6738
child 2381 0ca0f85a4b2a
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

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