summaryrefslogtreecommitdiff
path: root/config/companion_libs.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-05-25 19:46:58 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-05-25 19:46:58 (GMT)
commit21649be4763884c0000ec61f468ce9d1be10616d (patch)
tree49bb829299c72463c2e89b6eba6b183171479b60 /config/companion_libs.in
parent87cf57e3ba2dbed18f3fdb4af4d2bce2d6df7541 (diff)
/devel/gcc-4.4:
- commonalise the config-knobs that: - enable checking the newly built companion libraries - enable building the companion libraries for the target -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 4 2 2 0 +- /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 +- /devel/gcc-4.4/config/companion_libs/ppl.in | 14 0 14 0 ---------- /devel/gcc-4.4/config/companion_libs/mpc.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/gmp.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/cloog.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/mpfr.in | 14 0 14 0 ---------- /devel/gcc-4.4/config/companion_libs.in | 46 35 11 0 ++++++++++++++++++++++++++-------- 11 files changed, 42 insertions(+), 85 deletions(-)
Diffstat (limited to 'config/companion_libs.in')
-rw-r--r--config/companion_libs.in46
1 files changed, 35 insertions, 11 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in
index 46a2ede..3642713 100644
--- a/config/companion_libs.in
+++ b/config/companion_libs.in
@@ -20,17 +20,6 @@ config GMP_MPFR
- gcc
- gdb
-config GMP_MPFR_TARGET
- bool
- prompt "Build libraries for the target"
- depends on GMP_MPFR
- depends on ! BARE_METAL
- 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
source config/companion_libs/gmp.in
source config/companion_libs/mpfr.in
@@ -57,4 +46,39 @@ source config/companion_libs/cloog.in
source config/companion_libs/mpc.in
endif
+comment "Common companion libraries options"
+ depends on GMP_MPFR || PPL_CLOOG_MPC
+
+config COMP_LIBS_CHECK
+ bool
+ prompt "Check the companion libraries builds (!!! READ HELP!!!)"
+ depends on GMP_MPFR || PPL_CLOOG_MPC
+ 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.
+
+ Checking the newly built companion libraries is thus disabled by default,
+ but it is suggested that you check them at least once or 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. For example,
+ building PPL on my machine takes roughly 1'40", while checking it takes
+ about 1h30"...
+
+config COMP_LIBS_TARGET
+ bool
+ prompt "Build companion libraries for the target"
+ depends on GMP_MPFR || PPL_CLOOG_MPC
+ depends on ! BARE_METAL
+ default n
+ help
+ Also build companion 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.
+
+ Please note that for now, crosstool-NG can only build GMP and MPFR so.
+
endmenu