From 1b00a301bd732441d6bf1ad5d7cc15c0e281b622 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 20 Jun 2008 15:16:43 +0000 Subject: GMP and MPFR are no longer a sub-component of gcc (config-wise). Build and install GMP and MPFR for the target. Use the target GMP and MPFR to build the native gdb. Have separate extra_config for cross gdb, native gdb and gdbserver. Check native GMP and MPFR in //. /trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++------- /trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++------- /trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++-------- /trunk/steps.mk | 2 2 0 0 ++ /trunk/config/cc/gcc.in | 18 1 17 0 +-------------- /trunk/config/debug/gdb.in | 6 1 5 0 +---- /trunk/config/config.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++ 8 files changed, 137 insertions(+), 47 deletions(-) --- config/cc/gcc.in | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'config/cc') diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 33eee4e2..07cdc400 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -120,7 +120,7 @@ config CC_VERSION config CC_GCC_4_3_or_later bool default n - select CC_GCC_GMP_MPFR + select GMP_MPFR config CC_CXA_ATEXIT bool @@ -166,19 +166,3 @@ config CC_BUGURL default "" help Specify the URL that users should visit if they wish to report a bug. - -menuconfig CC_GCC_GMP_MPFR - bool - prompt "GMP and MPFR" - help - Recent gcc needs both GMP and MPFR to build some frontends. - - Say 'Y' here if you want to build those two libraries specifically - for crosstool-NG. - - Saying 'Y' is highly recommended if building gcc-4.3 or higher. - -if CC_GCC_GMP_MPFR -source config/cc/gmp.in -source config/cc/mpfr.in -endif -- cgit v1.2.3