mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
9f62ca8deb
Also, require gettext for NLS, and require iconv/ncurses for gettext. Signed-off-by: Alexey Neyman <stilor@att.net>
181 lines
3.3 KiB
Plaintext
181 lines
3.3 KiB
Plaintext
# 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).
|
|
|
|
menu "Companion libraries"
|
|
|
|
config COMPLIBS_NEEDED
|
|
bool
|
|
|
|
config LIBICONV_NEEDED
|
|
bool
|
|
select LIBICONV
|
|
select COMPLIBS_NEEDED
|
|
|
|
config GETTEXT_NEEDED
|
|
bool
|
|
select GETTEXT
|
|
select LIBICONV_NEEDED
|
|
select COMPLIBS_NEEDED
|
|
|
|
config GMP_NEEDED
|
|
bool
|
|
select GMP
|
|
select COMPLIBS_NEEDED
|
|
|
|
config MPFR_NEEDED
|
|
bool
|
|
select MPFR
|
|
select COMPLIBS_NEEDED
|
|
|
|
config ISL_NEEDED
|
|
bool
|
|
select ISL
|
|
select COMPLIBS_NEEDED
|
|
|
|
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
|
|
|
|
config EXPAT_NEEDED
|
|
bool
|
|
select EXPAT
|
|
select COMPLIBS_NEEDED
|
|
|
|
config NCURSES_NEEDED
|
|
bool
|
|
select NCURSES
|
|
select COMPLIBS_NEEDED
|
|
|
|
config COMPLIBS
|
|
bool
|
|
|
|
config LIBICONV
|
|
bool "Build local libiconv"
|
|
default y if CANADIAN || CROSS_NATIVE
|
|
select COMPLIBS
|
|
|
|
config GETTEXT
|
|
bool "Build local gettext"
|
|
default y if CANADIAN || CROSS_NATIVE
|
|
select LIBICONV_NEEDED
|
|
select NCURSES_NEEDED
|
|
select COMPLIBS
|
|
|
|
config GMP
|
|
bool
|
|
select COMPLIBS
|
|
|
|
config MPFR
|
|
bool
|
|
select GMP
|
|
select COMPLIBS
|
|
|
|
config ISL
|
|
bool
|
|
select GMP
|
|
select COMPLIBS
|
|
|
|
config CLOOG
|
|
bool
|
|
select GMP
|
|
select COMPLIBS
|
|
|
|
config MPC
|
|
bool
|
|
select GMP
|
|
select MPFR
|
|
select COMPLIBS
|
|
|
|
config LIBELF
|
|
bool
|
|
select COMPLIBS
|
|
|
|
config LIBELF_TARGET
|
|
bool
|
|
|
|
config EXPAT
|
|
bool
|
|
select COMPLIBS
|
|
|
|
config EXPAT_TARGET
|
|
bool
|
|
|
|
config NCURSES
|
|
bool
|
|
select COMPLIBS
|
|
|
|
config NCURSES_TARGET
|
|
bool
|
|
|
|
if LIBICONV
|
|
source "config/companion_libs/libiconv.in"
|
|
endif
|
|
if GETTEXT
|
|
source "config/companion_libs/gettext.in"
|
|
endif
|
|
if GMP
|
|
source "config/companion_libs/gmp.in"
|
|
endif
|
|
if MPFR
|
|
source "config/companion_libs/mpfr.in"
|
|
endif
|
|
if ISL
|
|
source "config/companion_libs/isl.in"
|
|
endif
|
|
if CLOOG
|
|
source "config/companion_libs/cloog.in"
|
|
endif
|
|
if MPC
|
|
source "config/companion_libs/mpc.in"
|
|
endif
|
|
if LIBELF || LIBELF_TARGET
|
|
comment "libelf version needed to build for target"
|
|
depends on !LIBELF
|
|
source "config/companion_libs/libelf.in"
|
|
endif
|
|
if EXPAT || EXPAT_TARGET
|
|
comment "expat version needed to build for target"
|
|
depends on !EXPAT
|
|
source "config/companion_libs/expat.in"
|
|
endif
|
|
if NCURSES || NCURSES_TARGET
|
|
comment "ncurses version needed to build for target"
|
|
depends on !NCURSES
|
|
source "config/companion_libs/ncurses.in"
|
|
endif
|
|
|
|
if COMPLIBS
|
|
|
|
comment "Companion libraries common options"
|
|
|
|
config COMPLIBS_CHECK
|
|
bool
|
|
prompt "Check the companion libraries builds (!!! READ HELP!!!)"
|
|
help
|
|
It is highly recommended to check the newly built companion libraries.
|
|
Unfortunately, this is a very intensive task, and takes a loooong time.
|
|
|
|
Checking the newly built companion libraries is thus disabled by default,
|
|
but it is suggested that you check them at least once on your machine,
|
|
and if they work, disable the check on subsequent builds.
|
|
|
|
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.
|
|
|
|
endif # COMPLIBS
|
|
|
|
endmenu
|