From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12609 invoked by alias); 29 Jul 2005 17:52:03 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 12597 invoked by uid 22791); 29 Jul 2005 17:51:59 -0000 Received: from ns.sll.ru (HELO relay.sll.ru) (217.74.33.13) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 29 Jul 2005 17:51:59 +0000 Received: from [10.5.103.11] ([::ffff:82.138.9.8]) (AUTH: LOGIN negative@smartlogic.ru) by relay.sll.ru with esmtp; Fri, 29 Jul 2005 21:52:04 +0400 Message-ID: <42EA6F84.9010401@smartlogic.ru> Date: Fri, 29 Jul 2005 17:52:00 -0000 From: "Andrey V. Romanchev" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Cross compile from i686-pc-linux-gnu to mipsel-linux Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-07/txt/msg00326.txt.bz2 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?