diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-15 21:02:02 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-03-15 21:02:02 (GMT) |
commit | 2244007325f1fbd50177b56511091b347837997e (patch) | |
tree | 72dafc92a43bc97b31fb4ec69f12a08921f86953 | |
parent | 76f3741a0f5940e8735b4763007d69ab6a5b1993 (diff) |
debug/gdb: gdb>=7.0 can use MPC, enable for cross-gdb
-rw-r--r-- | config/debug/gdb.in.cross | 12 | ||||
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross index 4699bab..900ff72 100644 --- a/config/debug/gdb.in.cross +++ b/config/debug/gdb.in.cross @@ -22,6 +22,18 @@ config GDB_CROSS_USE_GMP_MPFR Say 'Y' here if you want to use GMP+MPFR. +config GDB_CROSS_USE_MPC + bool + prompt "Use MPC" + default n + select GDB_CROSS_USE_GMP_MPFR + select MPC + select GDB_CROSS_NO_STATIC + help + gdb can use MPC, although it does not seem compulsory. + + Say 'Y' here if you want to use MPC. + config GDB_CROSS_NO_STATIC bool default n diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 46b3ea1..afa783a 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -103,6 +103,9 @@ do_debug_gdb_build() { cross_extra_config+=("--with-gmp=${CT_PREFIX_DIR}") cross_extra_config+=("--with-mpfr=${CT_PREFIX_DIR}") fi + if [ "${CT_GDB_CROSS_USE_MPC}" = "y" ]; then + cross_extra_config+=("--with-mpc=${CT_PREFIX_DIR}") + fi case "${CT_THREADS}" in none) cross_extra_config+=("--disable-threads");; *) cross_extra_config+=("--enable-threads");; |