Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and MPFR were not used by gcc.
Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users.
/trunk/scripts/build/binutils.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/scripts/build/cc_gcc.sh | 6 3 3 0 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
1 # This file adds the functions to build the GMP library
2 # Copyright 2008 Yann E. MORIN
3 # Licensed under the GPL v2. See COPYING in the root of this package
5 do_print_filename() { :; }
7 do_gmp_extract() { :; }
11 # Overide functions depending on configuration
12 if [ "${CT_GMP_MPFR}" = "y" ]; then
15 [ "${CT_GMP_MPFR}" = "y" ] || return 0
16 echo "gmp-${CT_GMP_VERSION}"
21 CT_GetFile "${CT_GMP_FILE}" {ftp,http}://{ftp.sunet.se/pub,ftp.gnu.org}/gnu/gmp
26 CT_ExtractAndPatch "${CT_GMP_FILE}"
30 mkdir -p "${CT_BUILD_DIR}/build-gmp"
31 cd "${CT_BUILD_DIR}/build-gmp"
33 CT_DoStep INFO "Installing GMP"
35 CT_DoLog EXTRA "Configuring GMP"
36 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
37 "${CT_SRC_DIR}/${CT_GMP_FILE}/configure" \
40 --prefix="${CT_PREFIX_DIR}" \
41 --disable-shared --enable-static \
42 --enable-fft --enable-mpbsd 2>&1 |CT_DoLog ALL
44 CT_DoLog EXTRA "Building GMP"
45 make ${PARALLELMFLAGS} 2>&1 |CT_DoLog ALL
47 if [ "${CT_GMP_CHECK}" = "y" ]; then
48 CT_DoLog EXTRA "Checking GMP"
49 make ${PARALLELMFLAGS} -s check 2>&1 |CT_DoLog ALL
52 CT_DoLog EXTRA "Installing GMP"
53 make install 2>&1 |CT_DoLog ALL
58 if [ "${CT_GMP_MPFR_TARGET}" = "y" ]; then
61 mkdir -p "${CT_BUILD_DIR}/build-gmp-target"
62 cd "${CT_BUILD_DIR}/build-gmp-target"
64 CT_DoStep INFO "Installing GMP for the target"
66 CT_DoLog EXTRA "Configuring GMP"
67 CFLAGS="${CT_CFLAGS_FOR_TARGET}" \
68 "${CT_SRC_DIR}/${CT_GMP_FILE}/configure" \
72 --disable-shared --enable-static \
73 --enable-fft --enable-mpbsd 2>&1 |CT_DoLog ALL
75 CT_DoLog EXTRA "Building GMP"
76 make ${PARALLELMFLAGS} 2>&1 |CT_DoLog ALL
78 # Not possible to check MPFR while X-compiling
80 CT_DoLog EXTRA "Installing GMP"
81 make DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL
86 fi # CT_GMP_MPFR_TARGET == y