1.1 --- a/scripts/build/cc/gcc.sh Sat Apr 10 23:42:28 2010 +0200
1.2 +++ b/scripts/build/cc/gcc.sh Sat Apr 10 23:43:08 2010 +0200
1.3 @@ -165,6 +165,7 @@
1.4 # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)
1.5 CC_FOR_BUILD="${CT_BUILD}-gcc" \
1.6 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
1.7 + LDFLAGS="-lstdc++" \
1.8 CT_DoExecLog ALL \
1.9 "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \
1.10 --build=${CT_BUILD} \
1.11 @@ -330,6 +331,7 @@
1.12 # embedded systems don't really need message catalogs...
1.13 CC_FOR_BUILD="${CT_BUILD}-gcc" \
1.14 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
1.15 + LDFLAGS="-lstdc++" \
1.16 CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
1.17 CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
1.18 LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \
2.1 --- a/scripts/build/companion_libs/cloog.sh Sat Apr 10 23:42:28 2010 +0200
2.2 +++ b/scripts/build/companion_libs/cloog.sh Sat Apr 10 23:43:08 2010 +0200
2.3 @@ -50,6 +50,7 @@
2.4
2.5 CT_DoLog EXTRA "Configuring CLooG/ppl"
2.6 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
2.7 + LDFLAGS='-lstdc++' \
2.8 CT_DoExecLog ALL \
2.9 "${CT_SRC_DIR}/cloog-ppl${_t}/configure" \
2.10 --build=${CT_BUILD} \
2.11 @@ -57,8 +58,8 @@
2.12 --prefix="${CT_PREFIX_DIR}" \
2.13 --with-gmp="${CT_PREFIX_DIR}" \
2.14 --with-ppl="${CT_PREFIX_DIR}" \
2.15 - --enable-shared \
2.16 - --disable-static \
2.17 + --disable-shared \
2.18 + --enable-static \
2.19 --with-bits=gmp
2.20
2.21 CT_DoLog EXTRA "Building CLooG/ppl"
3.1 --- a/scripts/build/companion_libs/gmp.sh Sat Apr 10 23:42:28 2010 +0200
3.2 +++ b/scripts/build/companion_libs/gmp.sh Sat Apr 10 23:43:08 2010 +0200
3.3 @@ -38,8 +38,8 @@
3.4 --build=${CT_BUILD} \
3.5 --host=${CT_HOST} \
3.6 --prefix="${CT_PREFIX_DIR}" \
3.7 - --enable-shared \
3.8 - --disable-static \
3.9 + --disable-shared \
3.10 + --enable-static \
3.11 --enable-fft \
3.12 --enable-mpbsd \
3.13 --enable-cxx
4.1 --- a/scripts/build/companion_libs/mpc.sh Sat Apr 10 23:42:28 2010 +0200
4.2 +++ b/scripts/build/companion_libs/mpc.sh Sat Apr 10 23:43:08 2010 +0200
4.3 @@ -37,8 +37,8 @@
4.4 --prefix="${CT_PREFIX_DIR}" \
4.5 --with-gmp="${CT_PREFIX_DIR}" \
4.6 --with-mpfr="${CT_PREFIX_DIR}" \
4.7 - --enable-shared \
4.8 - --disable-static \
4.9 + --disable-shared \
4.10 + --enable-static
4.11
4.12 CT_DoLog EXTRA "Building MPC"
4.13 CT_DoExecLog ALL make ${PARALLELMFLAGS}
5.1 --- a/scripts/build/companion_libs/mpfr.sh Sat Apr 10 23:42:28 2010 +0200
5.2 +++ b/scripts/build/companion_libs/mpfr.sh Sat Apr 10 23:43:08 2010 +0200
5.3 @@ -90,8 +90,8 @@
5.4 --host=${CT_HOST} \
5.5 --prefix="${CT_PREFIX_DIR}" \
5.6 ${mpfr_opt} \
5.7 - --enable-shared \
5.8 - --disable-static \
5.9 + --disable-shared \
5.10 + --enable-static \
5.11 --with-gmp="${CT_PREFIX_DIR}"
5.12
5.13 CT_DoLog EXTRA "Building MPFR"
6.1 --- a/scripts/build/companion_libs/ppl.sh Sat Apr 10 23:42:28 2010 +0200
6.2 +++ b/scripts/build/companion_libs/ppl.sh Sat Apr 10 23:43:08 2010 +0200
6.3 @@ -40,8 +40,8 @@
6.4 --prefix="${CT_PREFIX_DIR}" \
6.5 --with-libgmp-prefix="${CT_PREFIX_DIR}" \
6.6 --with-libgmpxx-prefix="${CT_PREFIX_DIR}" \
6.7 - --enable-shared \
6.8 - --disable-static \
6.9 + --disable-shared \
6.10 + --enable-static \
6.11 --disable-debugging \
6.12 --disable-assertions \
6.13 --disable-ppl_lcdd \