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.1 --- a/scripts/build/binutils.sh Wed Jul 09 21:13:07 2008 +0000
1.2 +++ b/scripts/build/binutils.sh Sun Jul 13 10:32:38 2008 +0000
1.3 @@ -27,7 +27,7 @@
1.4 binutils_opts=
1.5 # If GMP and MPFR were configured, then use that,
1.6 # otherwise let binutils find the system-wide libraries, if they exist.
1.7 - if [ "${CT_CC_GCC_GMP_MPFR}" = "y" ]; then
1.8 + if [ "${CT_GMP_MPFR}" = "y" ]; then
1.9 binutils_opts="--with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
1.10 fi
1.11
2.1 --- a/scripts/build/cc_gcc.sh Wed Jul 09 21:13:07 2008 +0000
2.2 +++ b/scripts/build/cc_gcc.sh Sun Jul 13 10:32:38 2008 +0000
2.3 @@ -59,7 +59,7 @@
2.4 CT_DoLog EXTRA "Configuring static core C compiler"
2.5
2.6 extra_config="${CT_ARCH_WITH_ARCH} ${CT_ARCH_WITH_ABI} ${CT_ARCH_WITH_CPU} ${CT_ARCH_WITH_TUNE} ${CT_ARCH_WITH_FPU} ${CT_ARCH_WITH_FLOAT}"
2.7 - [ "${CT_CC_GCC_GMP_MPFR}" = "y" ] && extra_config="${extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
2.8 + [ "${CT_GMP_MPFR}" = "y" ] && extra_config="${extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
2.9 if [ "${CT_CC_CXA_ATEXIT}" = "y" ]; then
2.10 extra_config="${extra_config} --enable-__cxa_atexit"
2.11 else
2.12 @@ -118,7 +118,7 @@
2.13 CT_DoLog EXTRA "Configuring shared core C compiler"
2.14
2.15 extra_config="${CT_ARCH_WITH_ARCH} ${CT_ARCH_WITH_ABI} ${CT_ARCH_WITH_CPU} ${CT_ARCH_WITH_TUNE} ${CT_ARCH_WITH_FPU} ${CT_ARCH_WITH_FLOAT}"
2.16 - [ "${CT_CC_GCC_GMP_MPFR}" = "y" ] && extra_config="${extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
2.17 + [ "${CT_GMP_MPFR}" = "y" ] && extra_config="${extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
2.18 if [ "${CT_CC_CXA_ATEXIT}" = "y" ]; then
2.19 extra_config="${extra_config} --enable-__cxa_atexit"
2.20 else
2.21 @@ -224,7 +224,7 @@
2.22 extra_config="${extra_config} --disable-multilib"
2.23 extra_config="${extra_config} ${CT_ARCH_WITH_ARCH} ${CT_ARCH_WITH_ABI} ${CT_ARCH_WITH_CPU} ${CT_ARCH_WITH_TUNE} ${CT_ARCH_WITH_FPU} ${CT_ARCH_WITH_FLOAT}"
2.24 [ "${CT_SHARED_LIBS}" = "y" ] || extra_config="${extra_config} --disable-shared"
2.25 - [ "${CT_CC_GCC_GMP_MPFR}" = "y" ] && extra_config="${extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
2.26 + [ "${CT_GMP_MPFR}" = "y" ] && extra_config="${extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
2.27 [ -n "${CT_CC_PKGVERSION}" ] && extra_config="${extra_config} --with-pkgversion=${CT_CC_PKGVERSION}"
2.28 [ -n "${CT_CC_BUGURL}" ] && extra_config="${extra_config} --with-bugurl=${CT_CC_BUGURL}"
2.29 if [ "${CT_CC_CXA_ATEXIT}" = "y" ]; then
3.1 --- a/scripts/build/debug/300-gdb.sh Wed Jul 09 21:13:07 2008 +0000
3.2 +++ b/scripts/build/debug/300-gdb.sh Sun Jul 13 10:32:38 2008 +0000
3.3 @@ -52,7 +52,7 @@
3.4 cd "${CT_BUILD_DIR}/build-gdb-cross"
3.5
3.6 cross_extra_config="${extra_config}"
3.7 - if [ "${CT_CC_GCC_GMP_MPFR}" = "y" ]; then
3.8 + if [ "${CT_GMP_MPFR}" = "y" ]; then
3.9 cross_extra_config="${cross_extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
3.10 fi
3.11 case "${CT_THREADS}" in