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-10-03 21:11:27 +00:00
|
|
|
config COMPLIBS_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config GMP_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select GMP
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config MPFR_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select MPFR
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config PPL_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select PPL
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config CLOOG_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select CLOOG
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config MPC_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select MPC
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config LIBELF_NEEDED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select LIBELF
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-02-18 19:43:31 +00:00
|
|
|
config COMPLIBS
|
|
|
|
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
|
|
|
endif # COMPLIBS
|
|
|
|
|
2008-06-20 15:16:43 +00:00
|
|
|
endmenu
|