shenhm 发表于 2008-8-25 08:12:29

构造GNUARM 编译出错了,高手帮忙解决一下

在CYGWIN下构造:


第一步构造binutils 时出错了:

执行configure
显示如下
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... arm-unknown-elf
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc) works... no
conifgure:error:installation or configuration problem:c compiler cannot executables

cygwin 我选的完全安装,肯定装了GCC的,怎么还会报错了,

config.log信息
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:1809: checking for gcc
configure:1922: checking whether the C compiler (gcc) works
configure:1938: gcc -o conftest    conftest.c1>&5
configure: failed program was:

#line 1933 "configure"
#include "confdefs.h"

main(){return(0);}
页: [1]
查看完整版本: 构造GNUARM 编译出错了,高手帮忙解决一下