进入解压生成的目录下,编译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文件才可以测试程序的呀)
大家给看看呀????
[root@localhost simple_test]# 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...
[root@localhost simple_test]#