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 23:11:27 +02:00
|
|
|
config COMPLIBS_NEEDED
|
|
|
|
bool
|
|
|
|
|
2015-10-24 01:49:56 +01:00
|
|
|
config LIBICONV_NEEDED
|
|
|
|
bool
|
|
|
|
select LIBICONV
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config GETTEXT_NEEDED
|
|
|
|
bool
|
|
|
|
select GETTEXT
|
|
|
|
select LIBICONV_NEEDED
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-10-03 23:11:27 +02:00
|
|
|
config GMP_NEEDED
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config MPFR_NEEDED
|
|
|
|
bool
|
|
|
|
select MPFR
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2013-05-04 00:08:34 +02:00
|
|
|
config ISL_NEEDED
|
|
|
|
bool
|
|
|
|
select ISL
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-10-03 23:11:27 +02:00
|
|
|
config CLOOG_NEEDED
|
|
|
|
bool
|
|
|
|
select CLOOG
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config MPC_NEEDED
|
|
|
|
bool
|
|
|
|
select MPC
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config LIBELF_NEEDED
|
|
|
|
bool
|
|
|
|
select LIBELF
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2015-11-06 22:15:11 -08:00
|
|
|
config EXPAT_NEEDED
|
|
|
|
bool
|
|
|
|
select EXPAT
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2015-11-07 23:31:46 -08:00
|
|
|
config NCURSES_NEEDED
|
|
|
|
bool
|
|
|
|
select NCURSES
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-02-18 20:43:31 +01:00
|
|
|
config COMPLIBS
|
|
|
|
bool
|
|
|
|
|
2015-10-24 01:49:56 +01:00
|
|
|
config LIBICONV
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config GETTEXT
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
2010-02-17 23:47:47 +01:00
|
|
|
config GMP
|
2008-06-20 15:16:43 +00:00
|
|
|
bool
|
2010-02-18 20:43:31 +01:00
|
|
|
select COMPLIBS
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2010-02-17 23:47:47 +01:00
|
|
|
config MPFR
|
|
|
|
bool
|
|
|
|
select GMP
|
2010-02-18 20:43:31 +01:00
|
|
|
select COMPLIBS
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2013-05-04 00:08:34 +02:00
|
|
|
config ISL
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select COMPLIBS
|
|
|
|
|
2010-02-17 23:47:47 +01:00
|
|
|
config CLOOG
|
|
|
|
bool
|
|
|
|
select GMP
|
2010-02-18 20:43:31 +01:00
|
|
|
select COMPLIBS
|
2010-02-17 23:47:47 +01:00
|
|
|
|
|
|
|
config MPC
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select MPFR
|
2010-02-18 20:43:31 +01:00
|
|
|
select COMPLIBS
|
2009-05-05 22:04:20 +00:00
|
|
|
|
2010-02-17 23:41:17 +01:00
|
|
|
config LIBELF
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config LIBELF_TARGET
|
|
|
|
bool
|
|
|
|
|
2015-11-06 22:15:11 -08:00
|
|
|
config EXPAT
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config EXPAT_TARGET
|
|
|
|
bool
|
|
|
|
|
2015-11-07 23:31:46 -08:00
|
|
|
config NCURSES
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config NCURSES_TARGET
|
|
|
|
bool
|
|
|
|
|
2015-10-24 01:49:56 +01:00
|
|
|
if LIBICONV
|
|
|
|
source "config/companion_libs/libiconv.in"
|
|
|
|
endif
|
|
|
|
if GETTEXT
|
|
|
|
source "config/companion_libs/gettext.in"
|
|
|
|
endif
|
2010-08-23 23:18:49 +02:00
|
|
|
if GMP
|
2010-03-29 20:24:50 +02:00
|
|
|
source "config/companion_libs/gmp.in"
|
2010-02-17 23:47:47 +01:00
|
|
|
endif
|
2010-08-23 23:18:49 +02:00
|
|
|
if MPFR
|
2010-03-29 20:24:50 +02:00
|
|
|
source "config/companion_libs/mpfr.in"
|
2010-02-17 23:47:47 +01:00
|
|
|
endif
|
2013-05-04 00:08:34 +02:00
|
|
|
if ISL
|
|
|
|
source "config/companion_libs/isl.in"
|
|
|
|
endif
|
2010-08-23 23:18:49 +02:00
|
|
|
if CLOOG
|
2010-03-29 20:24:50 +02:00
|
|
|
source "config/companion_libs/cloog.in"
|
2010-02-17 23:47:47 +01:00
|
|
|
endif
|
2010-08-23 23:18:49 +02:00
|
|
|
if MPC
|
2010-03-29 20:24:50 +02:00
|
|
|
source "config/companion_libs/mpc.in"
|
2009-05-05 22:04:20 +00:00
|
|
|
endif
|
2010-02-17 23:41:17 +01:00
|
|
|
if LIBELF || LIBELF_TARGET
|
|
|
|
comment "libelf version needed to build for target"
|
|
|
|
depends on !LIBELF
|
2010-03-29 20:24:50 +02:00
|
|
|
source "config/companion_libs/libelf.in"
|
2010-02-17 23:41:17 +01:00
|
|
|
endif
|
2015-11-06 22:15:11 -08:00
|
|
|
if EXPAT || EXPAT_TARGET
|
|
|
|
comment "expat version needed to build for target"
|
|
|
|
depends on !EXPAT
|
|
|
|
source "config/companion_libs/expat.in"
|
|
|
|
endif
|
2015-11-07 23:31:46 -08:00
|
|
|
if NCURSES || NCURSES_TARGET
|
|
|
|
comment "ncurses version needed to build for target"
|
|
|
|
depends on !NCURSES
|
|
|
|
source "config/companion_libs/ncurses.in"
|
|
|
|
endif
|
2009-06-01 17:05:50 +00:00
|
|
|
|
2010-04-11 00:47:23 +02:00
|
|
|
if COMPLIBS
|
|
|
|
|
2009-06-01 17:05:50 +00:00
|
|
|
comment "Companion libraries common options"
|
2010-02-18 20:43:31 +01:00
|
|
|
|
2010-04-10 23:42:28 +02:00
|
|
|
config COMPLIBS_CHECK
|
2009-05-25 19:46:58 +00:00
|
|
|
bool
|
2010-04-11 00:47:23 +02:00
|
|
|
prompt "Check the companion libraries builds (!!! READ HELP!!!)"
|
2009-05-25 19:46:58 +00:00
|
|
|
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 22:56:26 +02: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 22:56:26 +02: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.
|
2015-11-22 19:13:53 -08:00
|
|
|
Note however that this will take a really long time.
|
2009-05-25 19:46:58 +00:00
|
|
|
|
2010-04-11 00:47:23 +02:00
|
|
|
endif # COMPLIBS
|
|
|
|
|
2008-06-20 15:16:43 +00:00
|
|
|
endmenu
|