public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* error occured when cross compiling gcc
@ 2006-06-28  4:23 Luo Yong
  2006-06-28  5:15 ` Tim Prince
  2006-06-28  5:46 ` Luo Yong
  0 siblings, 2 replies; 5+ messages in thread
From: Luo Yong @ 2006-06-28  4:23 UTC (permalink / raw)
  To: gcc-help

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-28 11:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28  4:23 error occured when cross compiling gcc Luo Yong
2006-06-28  5:15 ` Tim Prince
2006-06-28  5:46 ` Luo Yong
2006-06-28 11:39   ` Tim Prince
2006-06-28 11:49     ` Rupert Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).