summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in.native
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-15 20:44:20 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-15 20:44:20 (GMT)
commitc270bf2a02bbd2233b90c4175792fabea1455b08 (patch)
tree926ad731336a5ac1f19dd49d20a9e887047ffa6e /config/debug/gdb.in.native
parente20859d74cff676bc679667554dffc209dc367ca (diff)
debug/gdb: can't build a static native gdb if using GMP/MPFR
It is currently impossible to reliably build static GMP/MPFR libs, so we can't build a static native gdb using them, obviously.
Diffstat (limited to 'config/debug/gdb.in.native')
-rw-r--r--config/debug/gdb.in.native22
1 files changed, 14 insertions, 8 deletions
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native
index be00606..c959e88 100644
--- a/config/debug/gdb.in.native
+++ b/config/debug/gdb.in.native
@@ -11,20 +11,13 @@ config GDB_NATIVE
if GDB_NATIVE
-config GDB_NATIVE_STATIC
- bool
- prompt "Build a static native gdb"
- default n
- help
- In case you have trouble with dynamic loading of shared libraries,
- you will find that a static gdb comes in handy.
-
config GDB_NATIVE_USE_GMP_MPFR
bool
prompt "Use GMP and MPFR"
default n
select GMP_TARGET
select MPFR_TARGET
+ select GDB_NATIVE_NO_STATIC
help
gdb can make use of the GMP and MPFR libraries.
@@ -35,4 +28,17 @@ config GDB_NATIVE_USE_GMP_MPFR
Setting this option will force building the GMP and MPFR libraries for
the target, and configure the native gdb to use them.
+config GDB_NATIVE_NO_STATIC
+ bool
+ default n
+
+config GDB_NATIVE_STATIC
+ bool
+ prompt "Build a static native gdb"
+ depends on ! GDB_NATIVE_NO_STATIC
+ default n
+ help
+ In case you have trouble with dynamic loading of shared libraries,
+ you will find that a static gdb comes in handy.
+
endif # GDB_NATIVE