编译ucosii for skyeye问题,大侠给看看呀??
进入解压生成的目录下,编译ucosii for skyeye:cd ucosii4skyeye
make config
make dep
make
在make dep的时候总是提示:make: *** No rule to make target `dep'.Stop.
我已经按照readme的说明,copy the file libc.a to LIBPATH by hand.
同时,我也修改了ucosii4skyeye目录下的makefile文件,添加了两条语句:
CROSS_COMPILE = arm-elf-
LIBPATH = -L/usr/local/lib/gcc-lib/arm-elf/2.95.3/
我看了一下在测试程序中都没有*.elf文件(说明上是要存在 skyeye.conf和*.elf文件才可以测试程序的呀)
大家给看看呀???? 怎么没有人回答呀,郁闷? 我也碰到同样的问题,那位大虾来救命啊 (from chyyuu)
makefile的问题。
我们以前是直接到 ucosii4skyeye/samples/simple_test下make的。
makefile更新了。
请下载 ucosii4skyeye-1.8.4试试! 下了最新的1.8.4,还是一样的,已经安装arm-elf-tools-20030314.sh,
那位大虾指点一下迷津?? make config 报错了吗?
arm-elf-gcc 可以运行吗? make config 报错,arm-elf-gcc 可以运行.麻烦大虾再看看
# make config
building target platform is /bin/sh: line 1: test: =: unary operator expected
/bin/sh: line 1: test: =: unary operator expected
???
------------------------------------------
I can not guess the host operation system
please set OSTYPE variable in rules.make !
or execute command export OSTYPE=linux-gnu
in bash shell, if your host system is linux.
or execute commands export OSTYPE=cygwin
in cygwin bash shell, if your host system is cgwin.
Then you should try make config again!
------------------------------------------
Hint: next, you can "make dep" this project now...
# 先
#export OSTYPE=linux-gnu
再
#make config 搞定,本来提示信息里面就有,没注意看,谢谢! 看来还是要仔细呀。
页:
[1]