New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html
/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
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