This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Cross compile from i686-pc-linux-gnu to mipsel-linux
- From: "Andrey V. Romanchev" <negative at smartlogic dot ru>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 29 Jul 2005 22:03:48 +0400
- Subject: Cross compile from i686-pc-linux-gnu to mipsel-linux
Hello.
I trying to build gcc for mipsel-linux architecture.
CC=mipsel-linux-gcc CFLAGS="-Os -mips32 -mtune=4kc"
../gcc-3.4.3/configure --host=mipsel-linux --target=mipsel-linux
--build=i686-linux --prefix=/home/me/work/compiling/gcc/build-gcc
make
and get the following:
[skip]
Configuring in build-i686-pc-linux-gnu/libiberty
configure: creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-linux-ar... no
checking for ar... ar
checking for i686-linux-ranlib... no
checking for ranlib... ranlib
checking for i686-linux-gcc... gcc
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
make: *** [configure-build-libiberty] Error 1
As I understand it tries to configure modules which run on the build
machine. I am not very competent in gcc compile and I trying to ask more
able people :)
What's wrong I do?