From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25329 invoked by alias); 28 Jun 2006 04:23:48 -0000 Received: (qmail 25320 invoked by uid 22791); 28 Jun 2006 04:23:47 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.188) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Jun 2006 04:23:45 +0000 Received: by nf-out-0910.google.com with SMTP id n28so1133642nfc for ; Tue, 27 Jun 2006 21:23:42 -0700 (PDT) Received: by 10.49.31.6 with SMTP id i6mr313039nfj; Tue, 27 Jun 2006 21:23:42 -0700 (PDT) Received: by 10.49.31.1 with HTTP; Tue, 27 Jun 2006 21:23:42 -0700 (PDT) Message-ID: Date: Wed, 28 Jun 2006 04:23:00 -0000 From: "Luo Yong" To: gcc-help@gcc.gnu.org Subject: error occured when cross compiling gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes 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 X-SW-Source: 2006-06/txt/msg00242.txt.bz2 The source is counfigured as === ./configure --target=arm-elf-linux --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-shared --disable-threads --with-gnu-as --with-gnu-ld --enable-multilib --enable-languages=c === But some error occured at the last step === checking build system type... i686-pc-linux-gnu checking host system type... arm-elf-linux-gnu checking target system type... arm-elf-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for arm-elf-linux-strip... arm-elf-linux-strip checking for --enable-version-specific-runtime-libs... no checking whether to enable maintainer-specific portions of Makefiles... no checking for arm-elf-linux-gcc... /home/yong/software/toolchain/gcc/gcc-4.1.1/host-i686-pc-linux-gnu/gcc/xgcc -B/home/yong/software/toolchain/gcc/gcc-4.1.1/host-i686-pc-linux-gnu/gcc/ -B/usr/local/arm-elf-linux/bin/ -B/usr/local/arm-elf-linux/lib/ -isystem /usr/local/arm-elf-linux/include -isystem /usr/local/arm-elf-linux/sys-include checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. make[1]: *** [configure-target-libmudflap] Error 1 make[1]: Leaving directory `/home/yong/software/toolchain/gcc/gcc-4.1.1' make: *** [all] Error 2 === How can I solve this problem? Thanks.