我在configure的时候,出错!不知为什么!那位弄过的帮帮我吧!
我在configure中已经把arm-linux全改成了arm-elf,但是编译时还时出错阿!
./configure --with-board=mba-44b0 --with-linux-prefix=/home/uc/ --host=arm-linux --target=arm-elf
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... arm-unknown-linux-gnu
checking for arm-elf-gcc... arm-elf-gcc
checking for arm-elf-objcopy... arm-elf-objcopy
checking for arm-elf-ranlib... arm-elf-ranlib
checking for arm-elf-ar... arm-elf-ar
checking for gcc... (cached) arm-elf-gcc
checking whether the C compiler (arm-elf-gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
请教,该怎么解决阿!谢谢!
checking build system type... i686-pc-linuxoldld
checking host system type... i686-pc-linuxoldld
checking target system type... i686-pc-linuxoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables