Advertisement
abingham

GCC-4.1.2 patch for compiling on Ubuntu 11 (Natty)

Apr 29th, 2011
869
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.09 KB | None | 0 0
  1. diff -rua gcc-4.1.2-pristine/gcc/config/i386/t-linux64 gcc-4.1.2/gcc/config/i386/t-linux64
  2. --- gcc-4.1.2-pristine/gcc/config/i386/t-linux64        2005-08-10 19:53:01.000000000 +0200
  3. +++ gcc-4.1.2/gcc/config/i386/t-linux64 2011-04-26 12:00:04.786692685 +0200
  4. @@ -6,7 +6,7 @@
  5.  
  6.  MULTILIB_OPTIONS = m64/m32
  7.  MULTILIB_DIRNAMES = 64 32
  8. -MULTILIB_OSDIRNAMES = ../lib64 ../lib
  9. +MULTILIB_OSDIRNAMES = ../lib ../lib32
  10.  
  11.  LIBGCC = stmp-multilib
  12.  INSTALL_LIBGCC = install-multilib
  13. diff -rua gcc-4.1.2-pristine/libstdc++-v3/configure gcc-4.1.2/libstdc++-v3/configure
  14. --- gcc-4.1.2-pristine/libstdc++-v3/configure   2007-01-29 11:51:01.000000000 +0100
  15. +++ gcc-4.1.2/libstdc++-v3/configure    2011-04-26 13:08:34.657761021 +0200
  16. @@ -8281,7 +8281,7 @@
  17.    if test x"$with_gnu_ld" = x"yes"; then
  18.  
  19.      ldver=`$LD --version 2>/dev/null | head -1 | \
  20. -           sed -e 's/GNU ld version \([0-9.][0-9.]*\).*//'`
  21. +           sed -e 's/GNU ld (GNU Binutils for Ubuntu) \([0-9.][0-9.]*\).*//'`
  22.  
  23.      glibcxx_gnu_ld_version=`echo $ldver | \
  24.             $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement