Add the latest gcc-4.3.3 with the forward-ported patchset from gcc-4.3.2.
/trunk/patches/gcc/4.3.3/210-noteGNUstack-00.patch | 47 26 21 0 ++++---
/trunk/patches/gcc/4.3.3/270-missing-execinfo_h.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/260-uclibc-conf-noupstream.patch | 13 9 4 0 +-
/trunk/patches/gcc/4.3.3/220-noteGNUstack-01.patch | 97 51 46 0 +++++++-------
/trunk/patches/gcc/4.3.3/240-pr25343.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/100-alpha-mieee-default.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/230-pr34571.patch | 23 8 15 0 +--
/trunk/patches/gcc/4.3.3/350-sh-without-headers.patch | 17 10 7 0 +-
/trunk/patches/gcc/4.3.3/330-unwind-for-uClibc.patch | 19 12 7 0 ++-
/trunk/patches/gcc/4.3.3/190-libstdc++-pic.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/150-sparc64-bsd.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/290-index_macro.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/140-netbsd-symbolic.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/110-trampolinewarn.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/160-flatten-switch-stmt-00.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/280-c99-complex-ugly-hack.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/300-libmudflap-susv3-legacy.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/170-libiberty-pic.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/250-sh-pr24836.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/120-java-nomulti.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/320-alpha-signal_h.patch | 14 10 4 0 +-
/trunk/patches/gcc/4.3.3/180-superh-default-multilib.patch | 13 9 4 0 +-
/trunk/patches/gcc/4.3.3/340-make-mno-spe-work-as-expected.patch | 41 23 18 0 +++---
/trunk/patches/gcc/4.3.3/200-pr24170.patch | 23 14 9 0 ++-
/trunk/patches/gcc/4.3.3/310-arm-softfloat.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/130-cross-compile.patch | 23 14 9 0 ++-
/trunk/config/cc/gcc.in | 7 7 0 0 +
27 files changed, 334 insertions(+), 210 deletions(-)
1 # This file adds functions to build binutils
2 # Copyright 2007 Yann E. MORIN
3 # Licensed under the GPL v2. See COPYING in the root of this package
7 CT_GetFile "binutils-${CT_BINUTILS_VERSION}" \
8 {ftp,http}://{ftp.gnu.org/gnu,ftp.kernel.org/pub/linux/devel}/binutils \
9 ftp://gcc.gnu.org/pub/binutils/{releases,snapshots}
13 do_binutils_extract() {
14 CT_Extract "binutils-${CT_BINUTILS_VERSION}"
15 CT_Patch "binutils-${CT_BINUTILS_VERSION}"
20 mkdir -p "${CT_BUILD_DIR}/build-binutils"
21 cd "${CT_BUILD_DIR}/build-binutils"
23 CT_DoStep INFO "Installing binutils"
26 # If GMP and MPFR were configured, then use that,
27 # otherwise let binutils find the system-wide libraries, if they exist.
28 if [ "${CT_GMP_MPFR}" = "y" ]; then
29 binutils_opts="--with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
32 CT_DoLog EXTRA "Configuring binutils"
33 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
35 "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
38 --target=${CT_TARGET} \
39 --prefix=${CT_PREFIX_DIR} \
44 ${CT_ARCH_WITH_FLOAT} \
45 ${CT_BINUTILS_EXTRA_CONFIG} \
46 ${BINUTILS_SYSROOT_ARG}
48 CT_DoLog EXTRA "Building binutils"
49 CT_DoExecLog ALL make ${PARALLELMFLAGS}
51 CT_DoLog EXTRA "Installing binutils"
52 CT_DoExecLog ALL make install
54 # Make those new tools available to the core C compilers to come.
55 # Note: some components want the ${TARGET}-{ar,as,ld,strip} commands as
57 mkdir -p "${CT_CC_CORE_STATIC_PREFIX_DIR}/${CT_TARGET}/bin"
58 mkdir -p "${CT_CC_CORE_STATIC_PREFIX_DIR}/bin"
59 mkdir -p "${CT_CC_CORE_SHARED_PREFIX_DIR}/${CT_TARGET}/bin"
60 mkdir -p "${CT_CC_CORE_SHARED_PREFIX_DIR}/bin"
61 for t in ar as ld strip; do
62 ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_STATIC_PREFIX_DIR}/${CT_TARGET}/bin/${t}"
63 ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_STATIC_PREFIX_DIR}/bin/${CT_TARGET}-${t}"
64 ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_SHARED_PREFIX_DIR}/${CT_TARGET}/bin/${t}"
65 ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_SHARED_PREFIX_DIR}/bin/${CT_TARGET}-${t}"
66 done 2>&1 |CT_DoLog ALL
71 # Now on for the target libraries
72 do_binutils_target() {
74 [ "${CT_BINUTILS_FOR_TARGET_IBERTY}" = "y" ] && targets="${targets} libiberty"
75 [ "${CT_BINUTILS_FOR_TARGET_BFD}" = "y" ] && targets="${targets} bfd"
76 targets="${targets# }"
79 # If GMP and MPFR were configured, then use that
80 if [ "${CT_GMP_MPFR_TARGET}" = "y" ]; then
81 binutils_opts="--with-gmp=${CT_SYSROOT_DIR}/usr --with-mpfr=${CT_SYSROOT_DIR}/usr"
84 if [ -n "${targets}" ]; then
85 CT_DoStep INFO "Installing binutils for target"
86 mkdir -p "${CT_BUILD_DIR}/build-binutils-for-target"
87 CT_Pushd "${CT_BUILD_DIR}/build-binutils-for-target"
89 CT_DoLog EXTRA "Configuring binutils for target"
91 "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
94 --target=${CT_TARGET} \
102 ${CT_ARCH_WITH_FLOAT} \
103 ${CT_BINUTILS_EXTRA_CONFIG}
105 build_targets=$(echo "${targets}" |sed -r -e 's/(^| +)/\1all-/g;')
106 install_targets=$(echo "${targets}" |sed -r -e 's/(^| +)/\1install-/g;')
108 CT_DoLog EXTRA "Building binutils' libraries (${targets}) for target"
109 CT_DoExecLog ALL make ${PARALLELMFLAGS} ${build_targets}
110 CT_DoLog EXTRA "Installing binutils' libraries (${targets}) for target"
111 CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" ${install_targets}