QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1745|回复: 2

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

[复制链接]
发表于 2008-8-25 08:09:25 | 显示全部楼层 |阅读模式
第一步构造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.c  1>&5
configure: failed program was:

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

main(){return(0);}

不胜感谢!!!
发表于 2008-8-25 10:48:13 | 显示全部楼层
建议你从二进制安装,自己构建整套交叉编译器没必要

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

使用道具 举报

发表于 2008-8-31 08:44:11 | 显示全部楼层

回复 #1 shenhm 的帖子

> checking whether the C compiler (gcc  ) works... no
没有gcc
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 08:34 , Processed in 0.043511 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表