summaryrefslogtreecommitdiff
path: root/config/companion_libs.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/companion_libs.in')
-rw-r--r--config/companion_libs.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in
new file mode 100644
index 0000000..49dc662
--- /dev/null
+++ b/config/companion_libs.in
@@ -0,0 +1,38 @@
+# 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 GMP_MPFR
+ bool
+ prompt "GMP and MPFR"
+ help
+ gcc 4.3.0 and above requires both GMP and MPFR to build some frontends,
+ and some other components can use them as well (eg. binutils and gdb).
+
+ Say 'Y' here if you want to build those two libraries specifically
+ for crosstool-NG.
+
+ 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
+ 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
+endif
+
+endmenu