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(-)
7 prompt "C compiler flavour"
14 select CC_SUPPORT_FORTRAN
15 select CC_SUPPORT_JAVA
17 select CC_SUPPORT_OBJC
18 select CC_SUPPORT_OBJCXX
20 gcc is the full-blown GNU compiler. This is what most people will choose.
22 gcc supports many languages, a powerful code parser, optimised binary
23 output, and lots of other features.
32 default "gcc" if CC_GCC
35 source config/cc/gcc.in
41 config CC_SUPPORT_FORTRAN
44 config CC_SUPPORT_JAVA
50 config CC_SUPPORT_OBJC
53 config CC_SUPPORT_OBJCXX
56 comment "Additional supported languages:"
62 depends on CC_SUPPORT_CXX
64 Enable building a C++ compiler.
66 Only select this if you know that your specific version of the
67 compiler supports this language.
69 config CC_LANG_FORTRAN
73 depends on CC_SUPPORT_FORTRAN
75 Enable building a FORTRAN compiler.
77 Only select this if you know that your specific version of the
78 compiler supports this language.
84 depends on CC_SUPPORT_JAVA
86 Enable building a Java compiler.
88 Only select this if you know that your specific version of the
89 compiler supports this language.
95 depends on CC_SUPPORT_ADA
97 Enable building an Ada compiler.
99 Only select this if you know that your specific version of the
100 compiler supports this language.
106 depends on CC_SUPPORT_OBJC
108 Enable building an Objective C compiler.
110 Only select this if you know that your specific version of the
111 compiler supports this language.
113 config CC_LANG_OBJCXX
115 prompt "Objective-C++"
117 depends on CC_SUPPORT_OBJCXX
119 Enable building an Objective C++ compiler.
121 Only select this if you know that your specific version of the
122 compiler supports this language.
124 config CC_LANG_OTHERS
126 prompt "Other languages"
129 Enter here a comma-separated list of languages that you know your compiler
130 supports, besides those listed above.
132 Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
133 in real life, it is not available in the selection above.