2009-05-03 21:10:15 +00:00
|
|
|
# Companion libraries config options
|
|
|
|
# Those libraries are required for different versions of gcc,
|
|
|
|
# and can be used by binutils and gdb (maybe others as well).
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2009-05-03 21:10:15 +00:00
|
|
|
menu "Companion libraries"
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2010-02-18 19:43:31 +00:00
|
|
|
config COMPLIBS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2009-08-29 22:57:40 +00:00
|
|
|
config WRAPPER_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2010-02-17 22:47:47 +00:00
|
|
|
config GMP
|
2008-06-20 15:16:43 +00:00
|
|
|
bool
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2010-02-17 22:47:47 +00:00
|
|
|
config MPFR
|
|
|
|
bool
|
|
|
|
select GMP
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2010-02-17 22:47:47 +00:00
|
|
|
config PPL
|
2009-05-05 22:04:20 +00:00
|
|
|
bool
|
2010-02-17 22:47:47 +00:00
|
|
|
select GMP
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2010-02-17 22:47:47 +00:00
|
|
|
|
|
|
|
config CLOOG
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select PPL
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2010-02-17 22:47:47 +00:00
|
|
|
|
|
|
|
config MPC
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select MPFR
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS
|
2009-05-05 22:04:20 +00:00
|
|
|
|
2010-02-17 22:41:17 +00:00
|
|
|
config LIBELF
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config LIBELF_TARGET
|
|
|
|
bool
|
|
|
|
|
2010-08-23 21:18:49 +00:00
|
|
|
if GMP
|
2010-03-29 18:24:50 +00:00
|
|
|
source "config/companion_libs/gmp.in"
|
2010-02-17 22:47:47 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if MPFR
|
2010-03-29 18:24:50 +00:00
|
|
|
source "config/companion_libs/mpfr.in"
|
2010-02-17 22:47:47 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if PPL
|
2010-03-29 18:24:50 +00:00
|
|
|
source "config/companion_libs/ppl.in"
|
2010-02-17 22:47:47 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if CLOOG
|
2010-03-29 18:24:50 +00:00
|
|
|
source "config/companion_libs/cloog.in"
|
2010-02-17 22:47:47 +00:00
|
|
|
endif
|
2010-08-23 21:18:49 +00:00
|
|
|
if MPC
|
2010-03-29 18:24:50 +00:00
|
|
|
source "config/companion_libs/mpc.in"
|
2009-05-05 22:04:20 +00:00
|
|
|
endif
|
2010-02-17 22:41:17 +00:00
|
|
|
if LIBELF || LIBELF_TARGET
|
|
|
|
comment "libelf version needed to build for target"
|
|
|
|
depends on !LIBELF
|
2010-03-29 18:24:50 +00:00
|
|
|
source "config/companion_libs/libelf.in"
|
2010-02-17 22:41:17 +00:00
|
|
|
endif
|
2009-05-05 22:04:20 +00:00
|
|
|
|
2009-06-01 17:05:50 +00:00
|
|
|
config FOO
|
|
|
|
bool
|
|
|
|
|
2010-04-10 22:47:23 +00:00
|
|
|
if COMPLIBS
|
|
|
|
|
2009-06-01 17:05:50 +00:00
|
|
|
comment "Companion libraries common options"
|
2010-02-18 19:43:31 +00:00
|
|
|
|
2010-04-10 21:42:28 +00:00
|
|
|
config COMPLIBS_CHECK
|
2009-05-25 19:46:58 +00:00
|
|
|
bool
|
2010-04-10 22:47:23 +00:00
|
|
|
prompt "Check the companion libraries builds (!!! READ HELP!!!)"
|
2009-05-25 19:46:58 +00:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
It is highly recommended to check the newly built companion libraries.
|
|
|
|
Unfortunately, this is a very intensive task, and takes a loooong time.
|
2009-06-14 20:56:26 +00:00
|
|
|
|
2009-05-25 19:46:58 +00:00
|
|
|
Checking the newly built companion libraries is thus disabled by default,
|
2009-05-25 20:04:12 +00:00
|
|
|
but it is suggested that you check them at least once on your machine,
|
2009-05-25 19:46:58 +00:00
|
|
|
and if they work, disable the check on subsequent builds.
|
2009-06-14 20:56:26 +00:00
|
|
|
|
2009-05-25 19:46:58 +00:00
|
|
|
If you suspect that one (or more) of your companion libraries is the
|
|
|
|
cause for incorrectly generated code, you should answer 'Y' here.
|
|
|
|
Note however that this will take a really long time. For example,
|
|
|
|
building PPL on my machine takes roughly 1'40", while checking it takes
|
2009-06-01 17:05:50 +00:00
|
|
|
about 1h40'...
|
2009-05-25 19:46:58 +00:00
|
|
|
|
2010-04-10 22:47:23 +00:00
|
|
|
config COMPLIBS_SHARED
|
|
|
|
bool
|
|
|
|
prompt "Build shared companion libraries"
|
|
|
|
default n
|
|
|
|
depends on COMPLIBS
|
|
|
|
select WRAPPER_NEEDED
|
|
|
|
help
|
|
|
|
By default, the companion libraries will be build static. If you want to
|
|
|
|
build shared libraries, then you can say 'Y' here, but a wrapper will be
|
|
|
|
needed (see docs/overview.txt,section "Tools wrapper").
|
|
|
|
|
|
|
|
It is highly recommended that you keep static libraries.
|
|
|
|
|
2009-09-06 09:47:40 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "| Install tools wrapper as:"
|
|
|
|
depends on WRAPPER_NEEDED
|
|
|
|
default TOOLS_WRAPPER_SHELL
|
|
|
|
|
|
|
|
config TOOLS_WRAPPER_SCRIPT
|
|
|
|
bool
|
|
|
|
prompt "shell script"
|
|
|
|
help
|
|
|
|
If your host has a shell, then you should say 'Y' here, to use
|
|
|
|
a (very very simple) shell script as wrapper.
|
|
|
|
|
|
|
|
See docs/overview.txt, section "Tools wrapper".
|
|
|
|
|
|
|
|
config TOOLS_WRAPPER_EXEC
|
|
|
|
bool
|
|
|
|
prompt "executable"
|
|
|
|
help
|
|
|
|
If your host lacks a shell, then you should say 'Y' here, to use
|
|
|
|
an executable.
|
|
|
|
|
|
|
|
See docs/overview.txt, section "Tools wrapper".
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config TOOLS_WRAPPER
|
|
|
|
string
|
|
|
|
default "script" if TOOLS_WRAPPER_SCRIPT
|
|
|
|
default "exec" if TOOLS_WRAPPER_EXEC
|
|
|
|
|
2010-04-10 22:47:23 +00:00
|
|
|
endif # COMPLIBS
|
|
|
|
|
2008-06-20 15:16:43 +00:00
|
|
|
endmenu
|