Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
1 # GMP and MPFR libraries config options
9 Recent gcc needs both GMP and MPFR to build some frontends.
11 Say 'Y' here if you want to build those two libraries specifically
14 The packages that can use GMP and MPFR are:
19 config GMP_MPFR_TARGET
21 prompt "Build libraries for the target"
25 Also build libraries for the target. This can be usefull if you want
26 to later build a compiler that will run on the target, or if you want
27 to run gdb natively on the target.
30 source config/cc/gmp.in
31 source config/cc/mpfr.in