Cygwin编译skyeye-1.2-RC8的问题
$make$gcc-g -O2 -DSTANDALONE -DDEFAULT_INLINE=0-DMODET -DMODET -I arch/arm -I arch
/arm/common/ -I arch/arm/common/mmu/ -I arch/arm/mach/ -I arch/bfin/common -I ar
ch/bfin/mach -I arch/coldfire/common -I device/ -I device/net -I device/lcd -I d
evice/flash -I utils/share -I utils/main -I utils/config -I utils/debugger-DAR
M -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/
usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/inc
lude/glib-2.0 -I/usr/lib/glib-2.0/include -DNO_DBCT -c arch/arm/mach/skyeye_ma
ch_ps7500.c -o binary/skyeye_mach_ps7500.o
arch/arm/mach/skyeye_mach_ps7500.c:50:26: mpw/sys/time.h: No such file or direct
ory
make: *** Error 1 #mkdir -p ~/skyeye-v1/include/mpw/sys/
#cp /usr/include/time.h ~/skyeye-v1/include/mpw/sys 谢谢楼上的兄弟
我修改了skyeye_mach_ps7500.c
#include "mpw/sys/time.h"
为
#include "sys/time.h"
也已经编译过去了,但是在编译ucosii时候,还是无法使用arm-elf-gcc工具,我用的是arm-elf-tools-20030314.sh
在cygwin下的做法:
先设置了环境变量OSTYPE=cygwin
$chmod +x arm-elf-tools-20030314.sh
$./arm-elf-tools-20030314.sh
然后编译ucosii
$make
make: Entering directory `/home/zyp/ucosii4skyeye/samples/simple_test'
+ making dep file ... : .depend
/usr/local/bin/arm-elf-gcc: /usr/local/bin/arm-elf-gcc: cannot execute binary f
le 应该是格式不对的原因
cygwin下的执行文件都带.exe后缀的
我用的不是arm-elf-tools-20030314.sh ,仅供参考,呵呵 谢谢路上 ,已经找到在cygwin下的toolchain工具:
http://www.gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.exe
页:
[1]