arm-elf-gcc编译nbench出错
我想将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: *** 错误 1
这时什么原因阿????????????????????????
我在编译小测试程序helloworld时没有问题
#sudo arm-elf-gcc -Wl,-elf2flt -o aaa hello.c
谢谢!
页:
[1]