QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1735|回复: 0

arm-elf-gcc编译nbench出错

[复制链接]
发表于 2010-5-19 15:49:13 | 显示全部楼层 |阅读模式
我想将nbench编译后在skyeye的uclinux下运行。但是在编译nbench时出错
nbench中的makefile文件我进行如下修改
CC = arm-elf-gcc
# generic options for gcc
CFLAGS = -Wl,-elf2flt -s -static -Wall -O3
MACHINE = -bi486-linuxelf
然后再编译,出现如下错误
#sudo make
arm-elf-gcc -bi486-linuxelf -DLINUX  -Wl,-elf2flt -s -static -Wall -O3\
                -o pointer pointer.c
arm-elf-gcc: installation problem, cannot exec `cpp0': ?????????
arm-elf-gcc: file path prefix `/usr/local/lib/gcc-lib/i486-linuxelf/2.95.3/' never used
make: *** [pointer.h] 错误 1
这时什么原因阿????????????????????????
我在编译小测试程序helloworld时没有问题
#sudo arm-elf-gcc -Wl,-elf2flt -o aaa hello.c
谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-20 16:51 , Processed in 0.048802 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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