diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-15 21:44:20 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-15 21:44:20 +0100 |
commit | c270bf2a02bbd2233b90c4175792fabea1455b08 (patch) | |
tree | 926ad731336a5ac1f19dd49d20a9e887047ffa6e /config/debug/gdb.in.native | |
parent | e20859d74cff676bc679667554dffc209dc367ca (diff) | |
download | crosstool-ng-c270bf2a02bbd2233b90c4175792fabea1455b08.tar.gz crosstool-ng-c270bf2a02bbd2233b90c4175792fabea1455b08.tar.bz2 crosstool-ng-c270bf2a02bbd2233b90c4175792fabea1455b08.zip |
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.native | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index be006064..c959e883 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 |