# HG changeset patch # User "Yann E. MORIN" # Date 1278768310 -7200 # Node ID cd9322b076d7a19bcdc1f31da62d50918fad7e8e # Parent 2ac4c67e97943996de2f4c9c0a73126f42bd8954 cc/gcc: gcc-4.4 does not use MPC As reported by Johannes Stezenbach, see thread at: http://sourceware.org/ml/crossgcc/2010-07/msg00017.html diff -r 2ac4c67e9794 -r cd9322b076d7 config/cc/gcc.in --- a/config/cc/gcc.in Sat Jul 10 14:20:16 2010 +0200 +++ b/config/cc/gcc.in Sat Jul 10 15:25:10 2010 +0200 @@ -131,7 +131,7 @@ default n select CC_GCC_4_3_or_later select CC_GCC_4_2_or_later - select CC_GCC_USE_PPL_CLOOG_MPC + select CC_GCC_USE_PPL_CLOOG config CC_GCC_4_5_or_later bool @@ -139,7 +139,7 @@ select CC_GCC_4_4_or_later select CC_GCC_4_3_or_later select CC_GCC_4_2_or_later - select CC_GCC_USE_LIBELF + select CC_GCC_USE_MPC_LIBELF config CC_GCC_USE_GMP_MPFR bool @@ -147,16 +147,16 @@ select GMP select MPFR -config CC_GCC_USE_PPL_CLOOG_MPC +config CC_GCC_USE_PPL_CLOOG bool default n select PPL select CLOOG - select MPC -config CC_GCC_USE_LIBELF +config CC_GCC_USE_MPC_LIBELF bool default n + select MPC select LIBELF config CC_VERSION diff -r 2ac4c67e9794 -r cd9322b076d7 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Sat Jul 10 14:20:16 2010 +0200 +++ b/scripts/build/cc/gcc.sh Sat Jul 10 15:25:10 2010 +0200 @@ -166,12 +166,12 @@ extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}") extra_config+=("--with-mpfr=${CT_COMPLIBS_DIR}") fi - if [ "${CT_CC_GCC_USE_PPL_CLOOG_MPC}" = "y" ]; then + if [ "${CT_CC_GCC_USE_PPL_CLOOG}" = "y" ]; then extra_config+=("--with-ppl=${CT_COMPLIBS_DIR}") extra_config+=("--with-cloog=${CT_COMPLIBS_DIR}") + fi + if [ "${CT_CC_GCC_USE_MPC_LIBELF}" = "y" ]; then extra_config+=("--with-mpc=${CT_COMPLIBS_DIR}") - fi - if [ "${CT_CC_GCC_USE_LIBELF}" = "y" ]; then extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}") fi @@ -346,12 +346,12 @@ extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}") extra_config+=("--with-mpfr=${CT_COMPLIBS_DIR}") fi - if [ "${CT_CC_GCC_USE_PPL_CLOOG_MPC}" = "y" ]; then + if [ "${CT_CC_GCC_USE_PPL_CLOOG}" = "y" ]; then extra_config+=("--with-ppl=${CT_COMPLIBS_DIR}") extra_config+=("--with-cloog=${CT_COMPLIBS_DIR}") + fi + if [ "${CT_CC_GCC_USE_MPC_LIBELF}" = "y" ]; then extra_config+=("--with-mpc=${CT_COMPLIBS_DIR}") - fi - if [ "${CT_CC_GCC_USE_LIBELF}" = "y" ]; then extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}") fi