# HG changeset patch # User "Yann E. MORIN" # Date 1268685860 -3600 # Node ID 136a929ec37f1a0501b1a86ad6092fd3a1e468a8 # Parent 73f76483a389710b451740919e0daedd8d6035ca 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 -r 73f76483a389 -r 136a929ec37f config/debug/gdb.in.native --- a/config/debug/gdb.in.native Mon Mar 15 21:42:55 2010 +0100 +++ b/config/debug/gdb.in.native Mon Mar 15 21:44:20 2010 +0100 @@ -11,20 +11,13 @@ 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 @@ 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