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
|
|
|
|
|
|
|
config GMP_MPFR
|
|
|
|
bool
|
|
|
|
prompt "GMP and MPFR"
|
|
|
|
help
|
2009-05-03 21:10:15 +00:00
|
|
|
gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
|
2009-05-05 22:04:20 +00:00
|
|
|
and some other components can use them as well.
|
2009-05-03 21:10:15 +00:00
|
|
|
|
2009-05-05 22:04:20 +00:00
|
|
|
These will be automatically selected if you choose gcc>=4.3.0, but you
|
|
|
|
can say 'Y' here if you want to build those two libraries for the other
|
|
|
|
components (that don't select them by default).
|
2009-05-03 21:10:15 +00:00
|
|
|
|
2008-06-20 15:16:43 +00:00
|
|
|
The packages that can use GMP and MPFR are:
|
|
|
|
- binutils
|
|
|
|
- gcc
|
|
|
|
- gdb
|
|
|
|
|
|
|
|
config GMP_MPFR_TARGET
|
|
|
|
bool
|
|
|
|
prompt "Build libraries for the target"
|
|
|
|
depends on GMP_MPFR
|
2008-09-14 16:21:07 +00:00
|
|
|
depends on ! BARE_METAL
|
2008-06-20 15:16:43 +00:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Also build libraries for the target. This can be usefull if you want
|
|
|
|
to later build a compiler that will run on the target, or if you want
|
|
|
|
to run gdb natively on the target.
|
|
|
|
|
|
|
|
if GMP_MPFR
|
2009-05-03 21:10:15 +00:00
|
|
|
source config/companion_libs/gmp.in
|
|
|
|
source config/companion_libs/mpfr.in
|
2008-06-20 15:16:43 +00:00
|
|
|
endif
|
|
|
|
|
2009-05-25 18:22:26 +00:00
|
|
|
config PPL_CLOOG_MPC
|
2009-05-05 22:04:20 +00:00
|
|
|
bool
|
2009-05-25 18:22:26 +00:00
|
|
|
prompt "PPL, GLooG/PPL and MPC"
|
2009-05-05 22:04:20 +00:00
|
|
|
help
|
2009-05-25 18:22:26 +00:00
|
|
|
gcc-4.4.0 and above requires PPL and CLooG/PPL to build some parts
|
|
|
|
of the optimiser (GRAPHITE loop optimisation, to be precise).
|
|
|
|
|
|
|
|
In addition to those, gcc-4.4 also optionally uses MPC to enable
|
|
|
|
additional optimisations on complex numbers. Although MPC is optional,
|
|
|
|
crosstool-NG requires it and uses it to build gcc >= 4.4.0.
|
2009-05-05 22:04:20 +00:00
|
|
|
|
|
|
|
These will be automatically selected if you choose gcc>=4.4.0, but you
|
|
|
|
can say 'Y' here, although it is unknown yet if any other component
|
|
|
|
can use them.
|
|
|
|
|
2009-05-25 18:22:26 +00:00
|
|
|
if PPL_CLOOG_MPC
|
2009-05-05 22:04:20 +00:00
|
|
|
source config/companion_libs/ppl.in
|
2009-05-24 22:04:14 +00:00
|
|
|
source config/companion_libs/cloog.in
|
2009-05-25 18:22:26 +00:00
|
|
|
source config/companion_libs/mpc.in
|
2009-05-05 22:04:20 +00:00
|
|
|
endif
|
|
|
|
|
2008-06-20 15:16:43 +00:00
|
|
|
endmenu
|