summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-04-30 10:43:41 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-04-30 10:43:41 (GMT)
commit86c54d80791ab37b88bf3813794fb1fa04e1b251 (patch)
treeeb96aea88b692fd64fde5f5575faa484716294fe /config
parentdacd159a98e28c1e5e1111c24cf400fee20f3e14 (diff)
Merge the fortran stuff to trunk now it works!
Fortran is not supported for all targets, though. ARM at least does not work. /trunk/scripts/build/binutils.sh | 8 8 0 0 ++++++++ /trunk/scripts/build/cc_gcc.sh | 11 6 5 0 ++++++----- /trunk/scripts/crosstool.sh | 10 9 1 0 +++++++++- /trunk/tools/addToolVersion.sh | 3 3 0 0 +++ /trunk/steps.mk | 2 2 0 0 ++ /trunk/config/cc/gcc.in | 16 16 0 0 ++++++++++++++++ 6 files changed, 44 insertions(+), 6 deletions(-)
Diffstat (limited to 'config')
-rw-r--r--config/cc/gcc.in16
-rw-r--r--config/cc/gmp.in27
-rw-r--r--config/cc/mpfr.in32
3 files changed, 75 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 9df1dfc..84d0abf 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -128,3 +128,19 @@ config CC_EXTRA_CONFIG
default ""
help
Extra flags to pass onto ./configure when configuring gcc.
+
+menuconfig CC_GCC_GMP_MPFR
+ bool
+ prompt "GMP and MPFR"
+ help
+ Recent gcc needs both GMP and MPFR to build some frontends.
+
+ Say 'Y' here if you want to build those two libraries specifically
+ for crosstool-NG.
+
+ Saying 'Y' is highly recommended if building gcc-4.3 or higher.
+
+if CC_GCC_GMP_MPFR
+source config/cc/gmp.in
+source config/cc/mpfr.in
+endif
diff --git a/config/cc/gmp.in b/config/cc/gmp.in
new file mode 100644
index 0000000..21a8ee4
--- /dev/null
+++ b/config/cc/gmp.in
@@ -0,0 +1,27 @@
+# GMP options
+
+choice
+ bool
+ prompt "GMP version"
+
+config GMP_V_4_2_2
+ bool
+ prompt "4.2.2"
+
+# CT_INSERT_VERSION_ABOVE
+# Don't remove above line!
+endchoice
+
+config GMP_VERSION
+ string
+ default "4.2.2" if GMP_V_4_2_2
+# CT_INSERT_VERSION_STRING_ABOVE
+# Don't remove above line!
+
+config GMP_CHECK
+ bool
+ prompt "Check GMP"
+ default y
+ help
+ It is highly recommended that 'make check' is run against the newly built
+ GMP library. See http://gmplib.org/
diff --git a/config/cc/mpfr.in b/config/cc/mpfr.in
new file mode 100644
index 0000000..d2e2b00
--- /dev/null
+++ b/config/cc/mpfr.in
@@ -0,0 +1,32 @@
+# GMP options
+
+choice
+ bool
+ prompt "MPFR version"
+
+config MPFR_V_2_3_0
+ bool
+ prompt "2.3.0"
+
+config MPFR_V_2_3_1
+ bool
+ prompt "2.3.1"
+
+# CT_INSERT_VERSION_ABOVE
+# Don't remove above line!
+endchoice
+
+config MPFR_VERSION
+ string
+ default "2.3.0" if MPFR_V_2_3_0
+ default "2.3.1" if MPFR_V_2_3_1
+# CT_INSERT_VERSION_STRING_ABOVE
+# Don't remove above line!
+
+config MPFR_CHECK
+ bool
+ prompt "Check MPFR"
+ default y
+ help
+ It is highly recommended that 'make check' is run against the newly built
+ MPFR library. See http://gmplib.org/