
GCC-4.1.2 patch for compiling on Ubuntu 11 (Natty)
By:
abingham on Apr 29th, 2011 | syntax:
Diff | size: 1.09 KB | hits: 486 | expires: Never
diff -rua gcc-4.1.2-pristine/gcc/config/i386/t-linux64 gcc-4.1.2/gcc/config/i386/t-linux64
--- gcc-4.1.2-pristine/gcc/config/i386/t-linux64 2005-08-10 19:53:01.000000000 +0200
+++ gcc-4.1.2/gcc/config/i386/t-linux64 2011-04-26 12:00:04.786692685 +0200
@@ -6,7 +6,7 @@
MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32
-MULTILIB_OSDIRNAMES = ../lib64 ../lib
+MULTILIB_OSDIRNAMES = ../lib ../lib32
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
diff -rua gcc-4.1.2-pristine/libstdc++-v3/configure gcc-4.1.2/libstdc++-v3/configure
--- gcc-4.1.2-pristine/libstdc++-v3/configure 2007-01-29 11:51:01.000000000 +0100
+++ gcc-4.1.2/libstdc++-v3/configure 2011-04-26 13:08:34.657761021 +0200
@@ -8281,7 +8281,7 @@
if test x"$with_gnu_ld" = x"yes"; then
ldver=`$LD --version 2>/dev/null | head -1 | \
- sed -e 's/GNU ld version \([0-9.][0-9.]*\).*//'`
+ sed -e 's/GNU ld (GNU Binutils for Ubuntu) \([0-9.][0-9.]*\).*//'`
glibcxx_gnu_ld_version=`echo $ldver | \
$AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`