From c270bf2a02bbd2233b90c4175792fabea1455b08 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 15 Mar 2010 21:44:20 +0100 Subject: 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. 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 -- cgit v0.10.2-6-g49f6