shenhm 发表于 2008-8-25 08:09:25

构造GNUARM 编译器 出错,高手帮忙看看一下

第一步构造binutils 时出错了:
显示如下
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);}

不胜感谢!!!

crook 发表于 2008-8-25 10:48:13

建议你从二进制安装,自己构建整套交叉编译器没必要

http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/

ksh 发表于 2008-8-31 08:44:11

回复 #1 shenhm 的帖子

> checking whether the C compiler (gcc) works... no
没有gcc
页: [1]
查看完整版本: 构造GNUARM 编译器 出错,高手帮忙看看一下