error occured when cross compiling gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux