Crosscompiler/2011-04-29

From Segfault
Jump to: navigation, search



> /bin/bash: i686-host_pc-linux-gnu-ar: command not found
> make[2]: *** [libiberty.a] Error 127
> make[2]: Leaving directory

esx-ubuntu0$ sudo ln -s `which ar` /usr/local/bin/i686-host_pc-linux-gnu-ar


configure: error: this configuration requires -mlong-double-128 IBM extended format support
--> http://svn.exactcode.de/t2/trunk/package/base/glibc/ppc-header.patch.cross0
   --- glibc-2.11/sysdeps/unix/sysv/linux/powerpc/configure.vanilla	2009-12-07 12:13:05.000000000 +0100
+++ glibc-2.11/sysdeps/unix/sysv/linux/powerpc/configure	2009-12-07 12:13:19.000000000 +0100
@@ -124,6 +124,6 @@
   else
     { { $as_echo "$as_me:$LINENO: error: this configuration requires -mlong-double-128 IBM extended format support" >&5
 $as_echo "$as_me: error: this configuration requires -mlong-double-128 IBM extended format support" >&2;}
-   { (exit 1); exit 1; }; }
+    }
   fi
 fi
--- glibc-2.11/sysdeps/ieee754/ldbl-opt/configure.vanilla	2009-12-07 12:12:15.000000000 +0100
+++ glibc-2.11/sysdeps/ieee754/ldbl-opt/configure	2009-12-07 12:12:44.000000000 +0100
@@ -62,5 +62,5 @@
 if test "$libc_cv_mlong_double_128" = no; then
   { { $as_echo "$as_me:$LINENO: error: this configuration requires -mlong-double-128 support" >&5
 $as_echo "$as_me: error: this configuration requires -mlong-double-128 support" >&2;}
-   { (exit 1); exit 1; }; }
+   }
 fi


running configure fragment for sysdeps/powerpc/powerpc32
checking for R_PPC_REL16 gas support... no
configure: error: R_PPC_REL16 is not supported. Binutils is too old.

build/powerpc-7450-linux-gnu/gcc-4.4.6-glibc-2.13/glibc-2.13/sysdeps/powerpc/powerpc32/configure
$as_echo "$as_me: error: R_PPC_REL16 is not supported. Binutils is too old." >&2;}
-   { (exit 1); exit 1; }; }
+   }



checking for correct version of gmp.h... no
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.

esx-ubuntu0$ sudo apt-get install libgmp3-dev libmpfr-dev