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
|
|
|
|
|
2015-10-24 00:49:56 +00: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 21:11:27 +00:00
|
|
|
config GMP_NEEDED
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
|
|
|
config MPFR_NEEDED
|
|
|
|
bool
|
|
|
|
select MPFR
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2013-05-03 22:08:34 +00:00
|
|
|
config ISL_NEEDED
|
|
|
|
bool
|
|
|
|
select ISL
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-10-03 21:11:27 +00: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-07 06:15:11 +00:00
|
|
|
config EXPAT_NEEDED
|
|
|
|
bool
|
|
|
|
select EXPAT
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2015-11-08 07:31:46 +00:00
|
|
|
config NCURSES_NEEDED
|
|
|
|
bool
|
|
|
|
select NCURSES
|
|
|
|
select COMPLIBS_NEEDED
|
|
|
|
|
2010-02-18 19:43:31 +00:00
|
|
|
config COMPLIBS
|
|
|
|
bool
|
|
|
|
|
2015-10-24 00:49:56 +00:00
|
|
|
config LIBICONV
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config GETTEXT
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
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
|
|
|
|
2013-05-03 22:08:34 +00:00
|
|
|
config ISL
|
|
|
|
bool
|
|
|
|
select GMP
|
|
|
|
select COMPLIBS
|
|
|
|
|
2010-02-17 22:47:47 +00:00
|
|
|
config CLOOG
|
|
|
|
bool
|
|
|
|
select GMP
|
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
|
|
|
|
|
2015-11-07 06:15:11 +00:00
|
|
|
config EXPAT
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config EXPAT_TARGET
|
|
|
|
bool
|
|
|
|
|
2015-11-08 07:31:46 +00:00
|
|
|
config NCURSES
|
|
|
|
bool
|
|
|
|
select COMPLIBS
|
|
|
|
|
|
|
|
config NCURSES_TARGET
|
|
|
|
bool
|
|
|
|
|
2015-10-24 00:49:56 +00:00
|
|
|
if LIBICONV
|
|
|
|
source "config/companion_libs/libiconv.in"
|
|
|
|
endif
|
|
|
|
if GETTEXT
|
|
|
|
source "config/companion_libs/gettext.in"
|
|
|
|
endif
|
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
|
2013-05-03 22:08:34 +00:00
|
|
|
if ISL
|
|
|
|
source "config/companion_libs/isl.in"
|
|
|
|
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
|
2015-11-07 06:15:11 +00: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-08 07:31:46 +00: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-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
|
|
|
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.
|
2015-11-23 03:13:53 +00:00
|
|
|
Note however that this will take a really long time.
|
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
|